faye-rails icon indicating copy to clipboard operation
faye-rails copied to clipboard

faye-browser-min.js.map on faye-rails (1.0.6)

Open Timopheym opened this issue 11 years ago • 4 comments

While using Faye-rails time after time i get this error. Where is importing this file?

ActionController::RoutingError (No route matches [GET] "/assets/faye-browser-min.js.map"): actionpack (3.2.11) lib/action_dispatch/middleware/debug_exceptions.rb:21:in call' actionpack (3.2.11) lib/action_dispatch/middleware/show_exceptions.rb:56:incall' railties (3.2.11) lib/rails/rack/logger.rb:32:in call_app' railties (3.2.11) lib/rails/rack/logger.rb:16:inblock in call' activesupport (3.2.11) lib/active_support/tagged_logging.rb:22:in tagged' railties (3.2.11) lib/rails/rack/logger.rb:16:incall' actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in call' rack (1.4.5) lib/rack/methodoverride.rb:21:incall' rack (1.4.5) lib/rack/runtime.rb:17:in call' activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:incall' actionpack (3.2.11) lib/action_dispatch/middleware/static.rb:62:in call' railties (3.2.11) lib/rails/engine.rb:479:incall' railties (3.2.11) lib/rails/application.rb:223:in call' rack (1.4.5) lib/rack/content_length.rb:14:incall' railties (3.2.11) lib/rails/rack/log_tailer.rb:17:in call' thin (1.5.0) lib/thin/connection.rb:81:inblock in pre_process' thin (1.5.0) lib/thin/connection.rb:79:in catch' thin (1.5.0) lib/thin/connection.rb:79:inpre_process' thin (1.5.0) lib/thin/connection.rb:54:in process' faye-websocket (0.4.6) lib/faye/adapters/thin.rb:41:inprocess' thin (1.5.0) lib/thin/connection.rb:39:in receive_data' faye-websocket (0.4.6) lib/faye/adapters/thin.rb:45:inreceive_data' eventmachine (1.0.0) lib/eventmachine.rb:187:in run_machine' eventmachine (1.0.0) lib/eventmachine.rb:187:inrun' thin (1.5.0) lib/thin/backends/base.rb:63:in start' thin (1.5.0) lib/thin/server.rb:159:instart' rack (1.4.5) lib/rack/handler/thin.rb:13:in run' rack (1.4.5) lib/rack/server.rb:268:instart' railties (3.2.11) lib/rails/commands/server.rb:70:in start' railties (3.2.11) lib/rails/commands.rb:55:inblock in <top (required)>' railties (3.2.11) lib/rails/commands.rb:50:in tap' railties (3.2.11) lib/rails/commands.rb:50:in<top (required)>' script/rails:6:in require' script/rails:6:in<top (required)>' -e:1:in load' -e:1:in

'

Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms)

Timopheym avatar Feb 19 '13 08:02 Timopheym

Argh! It looks like I can't win! People were reporting problems with the asset pipeline freaking out because of the source map, so I removed it. Is this backtrack happening during a request? Can you give me some more context?

jimsynz avatar Feb 19 '13 20:02 jimsynz

Chrome or other dev tools will request this file. I don't think it's critical for it to be there. It just means you won't have a map back to the unminified version.

aaronjensen avatar Apr 27 '13 19:04 aaronjensen

Yep, same issue here. Everything works, just shows an error every time.

svperfecta avatar Jun 30 '13 14:06 svperfecta

Well I had the same thing, and just put /assets/faye-browser-min.js.map in routes and wired it to nil rendering controller.

classyPimp avatar Jul 18 '15 14:07 classyPimp