faye-rails
faye-rails copied to clipboard
faye-browser-min.js.map on faye-rails (1.0.6)
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:in
call'
railties (3.2.11) lib/rails/rack/logger.rb:32:in call_app' railties (3.2.11) lib/rails/rack/logger.rb:16:in
block 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:in
call'
actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in call' rack (1.4.5) lib/rack/methodoverride.rb:21:in
call'
rack (1.4.5) lib/rack/runtime.rb:17:in call' activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:in
call'
actionpack (3.2.11) lib/action_dispatch/middleware/static.rb:62:in call' railties (3.2.11) lib/rails/engine.rb:479:in
call'
railties (3.2.11) lib/rails/application.rb:223:in call' rack (1.4.5) lib/rack/content_length.rb:14:in
call'
railties (3.2.11) lib/rails/rack/log_tailer.rb:17:in call' thin (1.5.0) lib/thin/connection.rb:81:in
block in pre_process'
thin (1.5.0) lib/thin/connection.rb:79:in catch' thin (1.5.0) lib/thin/connection.rb:79:in
pre_process'
thin (1.5.0) lib/thin/connection.rb:54:in process' faye-websocket (0.4.6) lib/faye/adapters/thin.rb:41:in
process'
thin (1.5.0) lib/thin/connection.rb:39:in receive_data' faye-websocket (0.4.6) lib/faye/adapters/thin.rb:45:in
receive_data'
eventmachine (1.0.0) lib/eventmachine.rb:187:in run_machine' eventmachine (1.0.0) lib/eventmachine.rb:187:in
run'
thin (1.5.0) lib/thin/backends/base.rb:63:in start' thin (1.5.0) lib/thin/server.rb:159:in
start'
rack (1.4.5) lib/rack/handler/thin.rb:13:in run' rack (1.4.5) lib/rack/server.rb:268:in
start'
railties (3.2.11) lib/rails/commands/server.rb:70:in start' railties (3.2.11) lib/rails/commands.rb:55:in
block 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)
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?
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.
Yep, same issue here. Everything works, just shows an error every time.
Well I had the same thing, and just put /assets/faye-browser-min.js.map in routes and wired it to nil rendering controller.