Note that there are some explanatory texts on larger screens.

plurals
  1. PORails/heroku: how to make work my app on heroku
    primarykey
    data
    text
    <p>I have a rails (2.3.5) app and I had to make some changes on it, involving changing the db. So, locally it's working fine, but when I tryied to push it to heroku I'm having a "Application Error" on my browser when I'm trying access the app. I've pushed the new code, bootstraped and filled the heroku db with my local project.</p> <p>This is what I got with "heroku logs", any ideas? :</p> <pre><code>C:\Sites\takenetqd&gt;heroku logs 2011-11-25T15:54:04+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:413:in `each' 2011-11-25T15:54:04+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:413:in `load_application_classes' 2011-11-25T15:54:04+00:00 app[web.1]: ... 21 levels... 2011-11-25T15:54:04+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/builder.rb:29:in `instance_eval' 2011-11-25T15:54:04+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/builder.rb:29:in `initialize' 2011-11-25T15:54:04+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1:in `new' 2011-11-25T15:54:04+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1 2011-11-25T15:54:04+00:00 heroku[web.1]: Process exited 2011-11-25T15:54:05+00:00 heroku[web.1]: State changed from starting to crashed 2011-11-25T16:04:36+00:00 heroku[web.1]: State changed from crashed to created 2011-11-25T16:04:36+00:00 heroku[web.1]: State changed from created to starting 2011-11-25T16:04:37+00:00 heroku[web.1]: Starting process with command `thin -p 50841 -e production -R /home/heroku_rack/heroku.ru start` 2011-11-25T16:04:39+00:00 app[web.1]: /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': /app/app/controllers/ sms_controller.rb:232: syntax error, unexpected $end, expecting kEND (SyntaxError) 2011-11-25T16:04:39+00:00 app[web.1]: from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' 2011-11-25T16:04:39+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:158:in `require' 2011-11-25T16:04:39+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:265:in `require_ or_load' 2011-11-25T16:04:39+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:224:in `depend_o n' 2011-11-25T16:04:39+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:136:in `require_ dependency' 2011-11-25T16:04:39+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:414:in `load_application_classes' 2011-11-25T16:04:39+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:413:in `each' 2011-11-25T16:04:39+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:413:in `load_application_classes' 2011-11-25T16:04:39+00:00 app[web.1]: ... 21 levels... 2011-11-25T16:04:39+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/builder.rb:29:in `instance_eval' 2011-11-25T16:04:39+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/builder.rb:29:in `initialize' 2011-11-25T16:04:39+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1:in `new' 2011-11-25T16:04:39+00:00 heroku[web.1]: Process exited 2011-11-25T16:15:09+00:00 heroku[web.1]: State changed from crashed to created 2011-11-25T16:15:09+00:00 heroku[web.1]: State changed from created to s tarting 2011-11-25T16:15:10+00:00 heroku[web.1]: Starting process with command `thin -p 53066 -e production -R /home/heroku_rack/heroku.ru start` 2011-11-25T16:15:12+00:00 app[web.1]: /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': /app/app/controllers/ sms_controller.rb:232: syntax error, unexpected $end, expecting kEND (SyntaxError) 2011-11-25T16:15:12+00:00 app[web.1]: from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' 2011-11-25T16:15:12+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:158:in `require' 2011-11-25T16:15:12+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:265:in `require_ or_load' 2011-11-25T16:15:12+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:224:in `depend_o n' 2011-11-25T16:15:12+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:136:in `require_ dependency' 2011-11-25T16:15:12+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:414:in `load_application_classes' 2011-11-25T16:15:12+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:413:in `each' 2011-11-25T16:15:12+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:413:in `load_application_classes' 2011-11-25T16:15:12+00:00 app[web.1]: ... 21 levels... 2011-11-25T16:15:12+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/builder.rb:29:in `instance_eval' 2011-11-25T16:15:12+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/builder.rb:29:in `initialize' 2011-11-25T16:15:12+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1:in `new' 2011-11-25T16:15:12+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1 2011-11-25T16:15:12+00:00 heroku[web.1]: Process exited 2011-11-25T16:15:13+00:00 heroku[web.1]: State changed from starting to crashed 2011-11-25T16:25:13+00:00 heroku[web.1]: State changed from crashed to created 2011-11-25T16:25:13+00:00 heroku[web.1]: State changed from created to starting 2011-11-25T16:25:20+00:00 app[web.1]: /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': /app/app/controllers/ sms_controller.rb:232: syntax error, unexpected $end, expecting kEND (SyntaxError) 2011-11-25T16:25:20+00:00 app[web.1]: from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' 2011-11-25T16:25:20+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:158:in `require' 2011-11-25T16:25:20+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2. 3.5/lib/active_support/dependencies.rb:265:in `require_or_load' 2011-11-25T16:25:20+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:224:in `depend_o n' 2011-11-25T16:25:20+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:136:in `require_ dependency' 2011-11-25T16:25:20+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:414:in `load_application_classes' 2011-11-25T16:25:20+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:413:in `each' 2011-11-25T16:35:48+00:00 heroku[web.1]: State changed from crashed to created 2011-11-25T16:35:49+00:00 heroku[web.1]: State changed from created to starting 2011-11-25T16:35:50+00:00 heroku[web.1]: Starting process with command `thin -p 38632 -e production -R /home/heroku_rack/heroku.ru start` 2011-11-25T16:35:52+00:00 app[web.1]: /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': /app/app/controllers/ sms_controller.rb:232: syntax error, unexpected $end, expecting kEND (SyntaxError) 2011-11-25T16:35:52+00:00 app[web.1]: from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' 2011-11-25T16:35:52+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:158:in `require' 2011 -11-25T16:35:52+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:224:in `depend_o n' 2011-11-25T16:35:52+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:265:in `require_ or_load' 2011-11-25T16:35:52+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:136:in `require_ dependency' 2011-11-25T16:35:52+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:414:in `load_application_classes' 2011-11-25T16:35:52+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:413:in `each' 2011-11-25T16:35:52+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:413:in `load_application_classes' 2011-11-25T16:35:52+00:00 app[web.1]: ... 21 levels... 2011-11-25T16:35:52+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/builder.rb:29:in `instance_eval' 2011-11-25T16:35:52+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/builder.rb:29:in `initialize' 2011-11-25T16:35:52+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1:in `new' 2011-11-25T16:35:52+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1 2011-11-25T16:35:52+00:00 heroku[web.1]: Process exited 2011-11-25T16:35:53+00:00 heroku[web.1]: State changed from starting to crashed 2011-11-25T16:46:58+00:00 heroku[web.1]: State changed from crashed to created 2011-11-25T16:46:58+00:00 heroku[web.1]: State changed from created to starting 2011-11-25T16:47:00+00:00 heroku[web.1]: Starting process with command `thin -p 53480 -e production -R /home/heroku_rack/heroku.ru start` 2011-11-25T16:47:03+00:00 heroku[web.1]: State changed from starting to crashed 2011-11-25T16:57:38+00:00 heroku[web.1]: State changed from crashed to created 2011-11-25T16:57:38+00:00 heroku[web.1]: State changed from created to starting 2011-11-25T16:57:43+00:00 heroku[web.1]: State changed from starting to crashed 2011-11-25T17:07:44+00:00 heroku[web.1]: State changed from crashed to created 2011-11-25T17:07:44+00:00 heroku[web.1]: State changed from created to starting 2011-11-25T17:07:45+00:00 heroku[web.1]: Starting process with command `thin -p 6130 -e production -R /home/heroku_rack/heroku.ru start` 2011-11-25T17:07:47+00:00 app[web.1]: /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': /app/app/controllers/ sms_controller.rb:232: syntax error, unexpected $end, expecting kEND (SyntaxError) 2011-11-25T17:07:47+00:00 app[web.1]: from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' 2011-11-25T17:07:47+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:158:in `require' 2011-11-25T17:07:47+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:265:in `require_ or_load' 2011-11-25T17:07:47+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:224:in `depend_o n' 2011-11-25T17:07:47+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:136:in `require_ dependency' 2011-11-25T17:07:47+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:414:in `load_application_classes' 2011-11-25T17:07:47+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:413:in `each' 2011-11-25T17:07:47+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:413:in `load_application_classes' 2011-11-25T17:07:47+00:00 app[web.1]: ... 21 levels... 2011-11-25T17:07:47+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/builder.rb:29:in `instance_eval' 2011-11-25T17:07:47+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/builder.rb:29:in `initialize' 2011-11-25T17:07:47+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1:in `new' 2011-11-25T17:07:47+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1 2011-11-25T17:07:47+00:00 heroku[web.1]: Process exited 2011-11-25T17:07:48+00:00 heroku[web.1]: State changed from starting to crashed </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload