BBYOpen/BBYIDX — Issue #18: Application error - Heroku
Author: aamonten
Created: 2011-12-07 14:56:11+00:00
State: open

Hi,
first I switch the stack to bamboo-1.8.7, the I followed steps at:

heroku create YOUR-APP-NAME
heroku addons:add sendgrid:free (See the Sendgrid docs for plans and pricing)
git push heroku master
heroku rake db:migrate
heroku restart
heroku rake db:seed
heroku open

Every command looks to run correct, but after running the "heroku open" command I get the "Application Error" screen.

I have no idea about what I'm missing, but here is my log:

2011-12-07T14:18:31+00:00 heroku[slugc]: Slug compilation started
2011-12-07T14:20:22+00:00 heroku[api]: Deploy c22f937 by aamonten@gmail.com
2011-12-07T14:20:22+00:00 heroku[api]: Release v7 created by aamonten@gmail.com
2011-12-07T14:20:22+00:00 heroku[web.1]: State changed from crashed to created
2011-12-07T14:20:22+00:00 heroku[web.1]: State changed from created to starting
2011-12-07T14:20:23+00:00 heroku[slugc]: Slug compilation finished
2011-12-07T14:20:28+00:00 app[web.1]: /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler /runtime.rb:27:in `setup': You have already activated rack
1.1.2, but your Gemfile requires rack 1.1.1. Consider using bundle exec. (Gem::LoadError)
2011-12-07T14:20:28+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/spec_set.rb:12:in `each'
2011-12-07T14:20:28+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/spec_set.rb:12:in `each'
2011-12-07T14:20:28+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler.rb:100:in `setup'
2011-12-07T14:20:28+00:00 app[web.1]: from /app/.gems/gems/rack-1.1.2/lib/rack/builder.rb:46:in `initialize'
2011-12-07T14:20:28+00:00 app[web.1]: from /app/.gems/gems/rack-1.1.2/lib/rack/builder.rb:63:in `new'
2011-12-07T14:20:29+00:00 heroku[web.1]: State changed from starting to crashed
2011-12-07T14:23:54+00:00 heroku[rake.10]: State changed from created to starting
2011-12-07T14:23:59+00:00 app[rake.10]: Awaiting client
2011-12-07T14:24:01+00:00 app[rake.10]: Starting process with command `bundle exec rake db:migrate`
2011-12-07T14:24:06+00:00 heroku[rake.10]: Process exited
2011-12-07T14:24:07+00:00 heroku[rake.10]: State changed from up to complete
2011-12-07T14:26:37+00:00 heroku[web.1]: State changed from crashed to created
2011-12-07T14:26:37+00:00 heroku[web.1]: State changed from created to starting
2011-12-07T14:26:41+00:00 heroku[web.1]: Starting process with command `thin -p 3362 -e production -R /home/heroku_rack/heroku.ru start`
2011-12-07T14:26:42+00:00 app[web.1]: /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:27:in `setup': You have already activated rack
1.1.2, but your Gemfile requires rack 1.1.1. Consider using bundle exec. (Gem::LoadError)
2011-12-07T14:26:42+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/spec_set.rb:12:in `each'
2011-12-07T14:26:42+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/spec_set.rb:12:in `each'
2011-12-07T14:26:42+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:17:in `setup'
2011-12-07T14:26:42+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler.rb:100:in `setup'
2011-12-07T14:26:42+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/rack/adapter/rails.rb:42:in `load_application'
2011-12-07T14:26:42+00:00 heroku[web.1]: Process exited
2011-12-07T14:26:43+00:00 heroku[web.1]: State changed from starting to crashed
2011-12-07T14:26:43+00:00 heroku[web.1]: State changed from crashed to created
2011-12-07T14:26:43+00:00 heroku[web.1]: State changed from created to starting
2011-12-07T14:26:50+00:00 heroku[web.1]: Starting process with command `thin -p 15961 -e production -R /home/heroku_rack/heroku.ru start`
2011-12-07T14:26:51+00:00 app[web.1]: /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:27:in `setup': You have already activated rack
1.1.2, but your Gemfile requires rack 1.1.1. Consider using bundle exec. (Gem::LoadError)
2011-12-07T14:26:51+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/spec_set.rb:12:in `each'
2011-12-07T14:26:51+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/spec_set.rb:12:in `each'
2011-12-07T14:26:51+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:17:in `setup'
2011-12-07T14:26:51+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler.rb:100:in `setup'
2011-12-07T14:26:51+00:00 app[web.1]: from /app/config/../config/preinitializer.rb:16
2011-12-07T14:26:51+00:00 app[web.1]: from /app/config/boot.rb:28:in `load'
2011-12-07T14:26:51+00:00 app[web.1]: from /app/config/boot.rb:28:in `preinitialize'
2011-12-07T14:26:51+00:00 app[web.1]: from /app/config/boot.rb:10:in `boot!'
2011-12-07T14:26:51+00:00 app[web.1]: from /app/config/boot.rb:114
2011-12-07T14:26:51+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
2011-12-07T14:26:51+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
2011-12-07T14:26:51+00:00 app[web.1]: from /app/config/environment.rb:11
2011-12-07T14:26:51+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
2011-12-07T14:26:51+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
2011-12-07T14:26:51+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/rack/adapter/rails.rb:42:in `load_application'
2011-12-07T14:26:51+00:00 app[web.1]: from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/rack/adapter/rails
.rb:23:in `initialize'
2011-12-07T14:26:51+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:29:in `new'
2011-12-07T14:26:51+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:29
2011-12-07T14:26:51+00:00 app[web.1]: from /app/.gems/gems/rack-1.1.2/lib/rack/builder.rb:46:in `instance_eval'
2011-12-07T14:26:51+00:00 app[web.1]: from /app/.gems/gems/rack-1.1.2/lib/rack/builder.rb:46:in `initialize'
2011-12-07T14:26:51+00:00 app[web.1]: from /app/.gems/gems/rack-1.1.2/lib/rack/builder.rb:63:in `new'
2011-12-07T14:26:51+00:00 app[web.1]: from /app/.gems/gems/rack-1.1.2/lib/rack/builder.rb:63:in `map'
2011-12-07T14:26:51+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:18
2011-12-07T14:26:51+00:00 app[web.1]: from /app/.gems/gems/rack-1.1.2/lib/rack/builder.rb:46:in `instance_eval'
2011-12-07T14:26:51+00:00 app[web.1]: from /app/.gems/gems/rack-1.1.2/lib/rack/builder.rb:46:in `initialize'
2011-12-07T14:26:51+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:11:in `new'
2011-12-07T14:26:51+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:11
2011-12-07T14:26:51+00:00 app[web.1]: from /app/.gems/gems/rack-1.1.2/lib/rack/builder.rb:46:in `instance_eval'
2011-12-07T14:26:51+00:00 heroku[web.1]: Process exited
2011-12-07T14:26:52+00:00 heroku[web.1]: State changed from starting to crashed
2011-12-07T14:27:02+00:00 heroku[rake.11]: State changed from created to starting
2011-12-07T14:27:06+00:00 app[rake.11]: Awaiting client
2011-12-07T14:27:06+00:00 app[rake.11]: Starting process with command `bundle exec rake db:seed`
2011-12-07T14:27:07+00:00 heroku[rake.11]: State changed from starting to up
2011-12-07T14:27:15+00:00 heroku[rake.11]: Process exited
2011-12-07T14:27:16+00:00 heroku[rake.11]: State changed from up to complete
2011-12-07T14:27:34+00:00 heroku[nginx]: 190.196.70.197 - - [07/Dec/2011:06:27:34 -0800] "GET / HTTP/1.1" 503 607 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.
0) Gecko/20100101 Firefox/8.0" bci-idx.heroku.com

thanks
Alejandro