I'm moving an old and very complicated Rails 2 application to Rails 3
on Heroku...  After hundreds of code changes it mostly runs OK with
Rails 3.0.3 locally (on Windows).  But uploading it to Heroku just
produces "App crashed".  The Heroku console error message complains
that there's no ".../mnt/config/application" file to load.  Heroku
receives the push, reports that "Your bundle is complete!" and
"Compiled slug size is 37.3MB"

Any suggestions?
Thank you very much for your attention.

... >heroku logs --app mydev
/usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- /disk1/home/slugs/
378263_1bf16dc_9972-b394afee-890f-4334-b9f4-05e5193bc410/mnt/config/
application (LoadError)
        from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:31:in `require'
        from /disk1/home/slugs/378263_1bf16dc_9972-b394afee-890f-4334-
b9f4-05e5193bc410/mnt/config/environment.rb:2
        from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:31:in `gem_original_require'
        from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:31:in `require'
        from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/rack/
adapter/rails.rb:42: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/378263_1bf16dc_9972-b394afee-890f-4334-
b9f4-05e5193bc410/mnt/.bundle/gems/ruby/1.8/gems/rack-1.2.1/lib/rack/
builder.rb:46:in `instance_eval'
        from /home/slugs/378263_1bf16dc_9972-b394afee-890f-4334-
b9f4-05e5193bc410/mnt/.bundle/gems/ruby/1.8/gems/rack-1.2.1/lib/rack/
builder.rb:46:in `initialize'
        from /home/slugs/378263_1bf16dc_9972-b394afee-890f-4334-
b9f4-05e5193bc410/mnt/.bundle/gems/ruby/1.8/gems/rack-1.2.1/lib/rack/
builder.rb:63:in `new'
        from /home/slugs/378263_1bf16dc_9972-b394afee-890f-4334-
b9f4-05e5193bc410/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/378263_1bf16dc_9972-b394afee-890f-4334-
b9f4-05e5193bc410/mnt/.bundle/gems/ruby/1.8/gems/rack-1.2.1/lib/rack/
builder.rb:46:in `instance_eval'
        from /home/slugs/378263_1bf16dc_9972-b394afee-890f-4334-
b9f4-05e5193bc410/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/378263_1bf16dc_9972-b394afee-890f-4334-
b9f4-05e5193bc410/mnt/.bundle/gems/ruby/1.8/gems/rack-1.2.1/lib/rack/
builder.rb:46:in `instance_eval'
        from /home/slugs/378263_1bf16dc_9972-b394afee-890f-4334-
b9f4-05e5193bc410/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

==> dyno-3674715.log (crash) <==
/usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load --
 ... [echo of above] ...
        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 her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to