Hi all,
I have been strugling to deploy my sinatra app onto Heroku. The app works well in local environment but I just unable to release on to Heroku. I have copied the logs below and woudl apprecite any help on this. Many thanks in advance. 2014-02-21T10:29:27.944182+00:00 app[web.1]: from /app/main.rb:1:in `<top (required)>' 2014-02-21T10:29:27.944390+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize' 2014-02-21T10:29:27.944182+00:00 app[web.1]: from config.ru:1:in `block in <main>' 2014-02-21T10:29:27.944182+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.0/lib/sinatra.rb:4:in `require' 2014-02-21T10:29:27.944390+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/lib/rack/adapter/loader.rb:33:in `eval' 2014-02-21T10:29:27.944182+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.0/lib/sinatra/base.rb:298:in `<module:Templates>': uninitialized constant Tilt::CompileSite (NameError) 2014-02-21T10:29:27.944390+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/lib/thin/runner.rb:156:in `run!' 2014-02-21T10:29:27.944390+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/lib/thin/controllers/controller.rb:182:in `load_rackup_config' 2014-02-21T10:29:27.944390+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/lib/rack/adapter/loader.rb:33:in `load' 2014-02-21T10:29:27.944182+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.0/lib/sinatra/base.rb:21:in `<top (required)>' 2014-02-21T10:29:27.944390+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/lib/thin/runner.rb:200:in `run_command' 2014-02-21T10:29:27.944182+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval' 2014-02-21T10:29:27.944182+00:00 app[web.1]: from /app/main.rb:1:in `require' 2014-02-21T10:29:27.944390+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/bin/thin:6:in `<top (required)>' 2014-02-21T10:29:27.944390+00:00 app[web.1]: from config.ru:1:in `<main>' 2014-02-21T10:29:27.944390+00:00 app[web.1]: from config.ru:1:in `new' 2014-02-21T10:29:27.944571+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/bin/thin:23:in `load' 2014-02-21T10:29:27.944182+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.0/lib/sinatra.rb:4:in `<top (required)>' 2014-02-21T10:29:27.944182+00:00 app[web.1]: from config.ru:1:in `require' 2014-02-21T10:29:27.944571+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/bin/thin:23:in `<main>' 2014-02-21T10:29:29.224408+00:00 heroku[web.1]: Process exited with status 1 2014-02-21T10:29:29.236284+00:00 heroku[web.1]: State changed from starting to crashed 2014-02-21T10:40:30.203984+00:00 heroku[web.1]: State changed from crashed to starting 2014-02-21T10:40:32.940688+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -R config.ru -e production -p 38282` 2014-02-21T10:40:34.564245+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.0/lib/sinatra/base.rb:298:in `<module:Templates>': uninitialized constant Tilt::CompileSite (NameError) 2014-02-21T10:40:34.564245+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.0/lib/sinatra/base.rb:297:in `<module:Sinatra>' 2014-02-21T10:40:34.564245+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.0/lib/sinatra.rb:4:in `<top (required)>' 2014-02-21T10:40:34.564245+00:00 app[web.1]: from /app/main.rb:1:in `require' 2014-02-21T10:40:34.564245+00:00 app[web.1]: from /app/main.rb:1:in `<top (required)>' 2014-02-21T10:40:34.564245+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.0/lib/sinatra/base.rb:21:in `<top (required)>' 2014-02-21T10:40:34.564245+00:00 app[web.1]: from config.ru:1:in `require' 2014-02-21T10:40:34.564245+00:00 app[web.1]: from config.ru:1:in `block in <main>' 2014-02-21T10:40:34.564245+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.0/lib/sinatra.rb:4:in `require' 2014-02-21T10:40:34.564446+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/lib/rack/adapter/loader.rb:33:in `load' 2014-02-21T10:40:34.564446+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/lib/thin/controllers/controller.rb:182:in `load_rackup_config' 2014-02-21T10:40:34.564245+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval' 2014-02-21T10:40:34.564446+00:00 app[web.1]: from config.ru:1:in `new' 2014-02-21T10:40:34.564446+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/lib/thin/runner.rb:156:in `run!' 2014-02-21T10:40:34.564446+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/lib/thin/runner.rb:200:in `run_command' 2014-02-21T10:40:34.564446+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/lib/thin/controllers/controller.rb:72:in `start' 2014-02-21T10:40:34.564446+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize' 2014-02-21T10:40:34.564446+00:00 app[web.1]: from config.ru:1:in `<main>' 2014-02-21T10:40:34.564446+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/lib/rack/adapter/loader.rb:33:in `eval' 2014-02-21T10:40:34.564665+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/bin/thin:23:in `<main>' 2014-02-21T10:40:34.564446+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/bin/thin:6:in `<top (required)>' 2014-02-21T10:40:34.564665+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/bin/thin:23:in `load' 2014-02-21T10:40:35.681868+00:00 heroku[web.1]: Process exited with status 1 2014-02-21T10:40:35.693477+00:00 heroku[web.1]: State changed from starting to crashed 2014-02-21T11:20:25.525405+00:00 heroku[web.1]: State changed from crashed to starting 2014-02-21T11:20:27.866306+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -R config.ru -e production -p 50653` 2014-02-21T11:20:29.428946+00:00 app[web.1]: from config.ru:1:in `require' 2014-02-21T11:20:29.428946+00:00 app[web.1]: from config.ru:1:in `block in <main>' 2014-02-21T11:20:29.428946+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval' 2014-02-21T11:20:29.429189+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize' 2014-02-21T11:20:29.429189+00:00 app[web.1]: from config.ru:1:in `new' 2014-02-21T11:20:29.429189+00:00 app[web.1]: from config.ru:1:in `<main>' 2014-02-21T11:20:29.429189+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/lib/thin/controllers/controller.rb:72:in `start' 2014-02-21T11:20:29.429189+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/lib/thin/runner.rb:200:in `run_command' 2014-02-21T11:20:29.429189+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/lib/thin/runner.rb:156:in `run!' 2014-02-21T11:20:29.429189+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/bin/thin:6:in `<top (required)>' 2014-02-21T11:20:29.429379+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/bin/thin:23:in `load' 2014-02-21T11:20:29.428946+00:00 app[web.1]: from /app/main.rb:1:in `require' 2014-02-21T11:20:29.428946+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.0/lib/sinatra/base.rb:297:in `<module:Sinatra>' 2014-02-21T11:20:29.428946+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.0/lib/sinatra/base.rb:21:in `<top (required)>' 2014-02-21T11:20:29.428946+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.0/lib/sinatra.rb:4:in `<top (required)>' 2014-02-21T11:20:29.429379+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/bin/thin:23:in `<main>' 2014-02-21T11:20:29.428946+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.0/lib/sinatra/base.rb:298:in `<module:Templates>': uninitialized constant Tilt::CompileSite (NameError) 2014-02-21T11:20:29.429189+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/lib/rack/adapter/loader.rb:33:in `load' 2014-02-21T11:20:29.428946+00:00 app[web.1]: from /app/main.rb:1:in `<top (required)>' 2014-02-21T11:20:29.428946+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.0/lib/sinatra.rb:4:in `require' 2014-02-21T11:20:29.429189+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/lib/rack/adapter/loader.rb:33:in `eval' 2014-02-21T11:20:29.429189+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/lib/thin/controllers/controller.rb:182:in `load_rackup_config' 2014-02-21T11:20:30.879276+00:00 heroku[web.1]: State changed from starting to crashed 2014-02-21T11:20:30.866343+00:00 heroku[web.1]: Process exited with status 1 2014-02-21T11:20:32.362112+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=sleepy-thicket-3470.herokuapp.com request_id=ffea09cb-89fa-4883-862a-782a0f19ef98 fwd="149.241.252.103" dyno= connect= service= status=503 bytes= 2014-02-21T11:23:07.356233+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -R config.ru -e production -p 35388` 2014-02-21T11:23:10.229430+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.0/lib/sinatra/base.rb:298:in `<module:Templates>': uninitialized constant Tilt::CompileSite (NameError) 2014-02-21T11:23:10.229430+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.0/lib/sinatra/base.rb:297:in `<module:Sinatra>' 2014-02-21T11:23:10.229756+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.0/lib/sinatra.rb:4:in `require' 2014-02-21T11:23:10.229891+00:00 app[web.1]: from config.ru:1:in `block in <main>' 2014-02-21T11:23:10.229939+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize' 2014-02-21T11:23:10.229823+00:00 app[web.1]: from /app/main.rb:1:in `require' 2014-02-21T11:23:10.229891+00:00 app[web.1]: from config.ru:1:in `require' 2014-02-21T11:23:10.229939+00:00 app[web.1]: from config.ru:1:in `new' 2014-02-21T11:23:10.230008+00:00 app[web.1]: from config.ru:1:in `<main>' 2014-02-21T11:23:10.230173+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/lib/rack/adapter/loader.rb:33:in `load' 2014-02-21T11:23:10.230173+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/lib/thin/runner.rb:200:in `run_command' 2014-02-21T11:23:10.230173+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/lib/thin/runner.rb:156:in `run!' 2014-02-21T11:23:10.230173+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/bin/thin:6:in `<top (required)>' 2014-02-21T11:23:10.229756+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.0/lib/sinatra/base.rb:21:in `<top (required)>' 2014-02-21T11:23:10.229823+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.0/lib/sinatra.rb:4:in `<top (required)>' 2014-02-21T11:23:10.229823+00:00 app[web.1]: from /app/main.rb:1:in `<top (required)>' 2014-02-21T11:23:10.229939+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval' 2014-02-21T11:23:10.230008+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/lib/rack/adapter/loader.rb:33:in `eval' 2014-02-21T11:23:10.230173+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/lib/thin/controllers/controller.rb:182:in `load_rackup_config' 2014-02-21T11:23:10.230173+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/bin/thin:23:in `<main>' 2014-02-21T11:23:10.230173+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/thin-1.6.1/lib/thin/controllers/controller.rb:72:in `start' 2014-02-21T11:23:10.230173+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/bin/thin:23:in `load' 2014-02-21T11:23:11.625811+00:00 heroku[web.1]: Process exited with status 1 2014-02-21T11:23:11.637313+00:00 heroku[web.1]: State changed from starting to crashed 2014-02-21T11:23:18.134493+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=sleepy-thicket-3470.herokuapp.com request_id=c226c465-a8d7-4596-8210-75c3fe92362c fwd="149.241.252.103" dyno= connect= service= status=503 bytes= -- -- You received this message because you are subscribed to the Google Groups "Heroku" group. 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_US?hl=en --- You received this message because you are subscribed to the Google Groups "Heroku Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
