I've been trying to move an app from Rails 2.3.8 to 3.0.3. The 2.3.8
version runs fine on Heroku. Modified for Rails 3.0.3, it runs on my
Windows/MySQL development machine.
But I haven't been able to get it to run at all on Heroku. "bundle
install" runs clean, and "git push" runs clean. All I get from Heroku
is "App crashed".
In the console log (below), Rails can't find "dispatcher". But I
don't see "dispatcher" or "dispatcher.rb" is in the file tree. What's
missing? If I'm missing a Gemfile entry, how can I find out what it
is?
Thanks very very much for any help at all!
$ >heroku logs --app myapp
==> dyno-3674715.log (crash) <==
/disk1/home/slugs/.../mnt/.bundle/gems/ruby/1.8/gems/
activesupport-3.0.3/lib/active_support/dependencies.rb:239:in
`require': no such file to load -- dispatcher (LoadError)
from /disk1/home/slugs/.../mnt/.bundle/gems/ruby/1.8/gems/
activesupport-3.0.3/lib/active_support/dependencies.rb:239:in
`require'
from /disk1/home/slugs/.../mnt/.bundle/gems/ruby/1.8/gems/
activesupport-3.0.3/lib/active_support/dependencies.rb:227:in
`load_dependency'
from /disk1/home/slugs/.../mnt/.bundle/gems/ruby/1.8/gems/
activesupport-3.0.3/lib/active_support/dependencies.rb:239:in
`require'
from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/rack/
adapter/rails.rb:43:in `load_application'
from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/rack/
adapter/rails.rb:23:in `initialize'
from /home/heroku_rack/heroku.ru:29:in `new'
from /home/heroku_rack/heroku.ru:29
from /home/slugs/.../mnt/.bundle/gems/ruby/1.8/gems/rack-1.2.1/
lib/rack/builder.rb:46:in `instance_eval'
from /home/slugs/.../mnt/.bundle/gems/ruby/1.8/gems/rack-1.2.1/
lib/rack/builder.rb:46:in `initialize'
from /home/slugs/.../mnt/.bundle/gems/ruby/1.8/gems/rack-1.2.1/
lib/rack/builder.rb:63:in `new'
from /home/slugs/.../mnt/.bundle/gems/ruby/1.8/gems/rack-1.2.1/
lib/rack/builder.rb:63:in `map'
from /home/heroku_rack/heroku.ru:18
from /home/slugs/.../mnt/.bundle/gems/ruby/1.8/gems/rack-1.2.1/
lib/rack/builder.rb:46:in `instance_eval'
from /home/slugs/.../mnt/.bundle/gems/ruby/1.8/gems/rack-1.2.1/
lib/rack/builder.rb:46:in `initialize'
from /home/heroku_rack/heroku.ru:11:in `new'
from /home/heroku_rack/heroku.ru:11
from /home/slugs/.../mnt/.bundle/gems/ruby/1.8/gems/rack-1.2.1/
lib/rack/builder.rb:46:in `instance_eval'
from /home/slugs/.../mnt/.bundle/gems/ruby/1.8/gems/rack-1.2.1/
lib/rack/builder.rb:46:in `initialize'
from /home/heroku_rack/heroku.ru:1:in `new'
from /home/heroku_rack/heroku.ru:1
-----> Your application is requiring a file that it can't find.
Most often this is due to missing gems, or it could be that you
failed
to commit the file to your repo. See http://docs.heroku.com/gems
for
more information on managing gems.
Examine the backtrace above this message to debug.
$ >
--
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en.