Hey, guys.

I'm playing around with Heroku today. Are there any gotchas for Rails  
apps?

My javascript assets don't seem to be loading properly. I'm just using  
the standard Rails javascript asset helper method, so this is puzzling.

ActionController::RoutingError (No route matches "/javascripts/ 
application.js" with {:method=>:get}):
   /home/heroku_rack/lib/static_assets.rb:8:in `call'
   /home/heroku_rack/lib/last_access.rb:25:in `call'
   /home/heroku_rack/lib/date_header.rb:14:in `call'
   thin (1.0.1) lib/thin/connection.rb:80:in `pre_process'
   thin (1.0.1) lib/thin/connection.rb:78:in `catch'
   thin (1.0.1) lib/thin/connection.rb:78:in `pre_process'
   thin (1.0.1) lib/thin/connection.rb:57:in `process'
   thin (1.0.1) lib/thin/connection.rb:42:in `receive_data'
   eventmachine (0.12.6) lib/eventmachine.rb:240:in `run_machine'
   eventmachine (0.12.6) lib/eventmachine.rb:240:in `run'
   thin (1.0.1) lib/thin/backends/base.rb:57:in `start'
   thin (1.0.1) lib/thin/server.rb:150:in `start'
   thin (1.0.1) lib/thin/controllers/controller.rb:80:in `start'
   thin (1.0.1) lib/thin/runner.rb:173:in `send'
   thin (1.0.1) lib/thin/runner.rb:173:in `run_command'
   thin (1.0.1) lib/thin/runner.rb:139:in `run!'
   thin (1.0.1) bin/thin:6
   /usr/local/bin/thin:20:in `load'
   /usr/local/bin/thin:20

Rendering /disk1/home/slugs/66557_b30e8c3_a709/mnt/public/404.html  
(404 Not Found)


Processing ApplicationController#index (for 72.197.89.236 at  
2009-10-10 09:29:05) [GET]
   Parameters: {"1255149625"=>nil}

ActionController::RoutingError (No route matches "/javascripts/ 
jquery-1.3.2.min.js" with {:method=>:get}):
   /home/heroku_rack/lib/static_assets.rb:8:in `call'
   /home/heroku_rack/lib/last_access.rb:25:in `call'
   /home/heroku_rack/lib/date_header.rb:14:in `call'
   thin (1.0.1) lib/thin/connection.rb:80:in `pre_process'
   thin (1.0.1) lib/thin/connection.rb:78:in `catch'
   thin (1.0.1) lib/thin/connection.rb:78:in `pre_process'
   thin (1.0.1) lib/thin/connection.rb:57:in `process'
   thin (1.0.1) lib/thin/connection.rb:42:in `receive_data'
   eventmachine (0.12.6) lib/eventmachine.rb:240:in `run_machine'
   eventmachine (0.12.6) lib/eventmachine.rb:240:in `run'
   thin (1.0.1) lib/thin/backends/base.rb:57:in `start'
   thin (1.0.1) lib/thin/server.rb:150:in `start'
   thin (1.0.1) lib/thin/controllers/controller.rb:80:in `start'
   thin (1.0.1) lib/thin/runner.rb:173:in `send'
   thin (1.0.1) lib/thin/runner.rb:173:in `run_command'
   thin (1.0.1) lib/thin/runner.rb:139:in `run!'
   thin (1.0.1) bin/thin:6
   /usr/local/bin/thin:20:in `load'
   /usr/local/bin/thin:20

Any ideas?

-- Patrick




--~--~---------~--~----~------------~-------~--~----~
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
-~----------~----~----~----~------~----~------~--~---

Reply via email to