Bonsai on Heroku

111 views
Skip to first unread message

Ben Schwarz

unread,
Apr 29, 2010, 12:29:26 AM4/29/10
to Bonsai
If you're interested in setting up your bonsai site on Heroku to save
you some time sorting out a vps or hosting - check this out


http://gist.github.com/383126

Arunan Skanthan

unread,
Nov 29, 2011, 12:55:38 AM11/29/11
to tiny...@googlegroups.com
I've done what the gist says to deploy to heroku, but the app crashes...

heroku logs gives...

<snip>
2011-11-29T05:41:23+00:00 heroku[slugc]: Slug compilation finished
2011-11-29T05:41:26+00:00 app[web.1]: <internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- website (LoadError)
2011-11-29T05:41:26+00:00 app[web.1]:     from <internal:lib/rubygems/custom_require>:29:in `require'
2011-11-29T05:41:26+00:00 app[web.1]:     from config.ru:1:in `block (3 levels) in <main>'
2011-11-29T05:41:26+00:00 app[web.1]:     from /home/heroku_rack/heroku.ru:23:in `eval'
2011-11-29T05:41:26+00:00 app[web.1]:     from /home/heroku_rack/heroku.ru:23:in `block (3 levels) in <main>'
2011-11-29T05:41:26+00:00 app[web.1]:     from /app/.gems/gems/rack-1.3.5/lib/rack/builder.rb:51:in `instance_eval'
2011-11-29T05:41:26+00:00 app[web.1]:     from /app/.gems/gems/rack-1.3.5/lib/rack/builder.rb:51:in `initialize'
2011-11-29T05:41:26+00:00 app[web.1]:     from /app/.gems/gems/rack-1.3.5/lib/rack/builder.rb:120:in `new'
2011-11-29T05:41:26+00:00 app[web.1]:     from /app/.gems/gems/rack-1.3.5/lib/rack/builder.rb:120:in `map'
2011-11-29T05:41:26+00:00 app[web.1]:     from /home/heroku_rack/heroku.ru:18:in `block (2 levels) in <main>'
2011-11-29T05:41:26+00:00 app[web.1]:     from /app/.gems/gems/rack-1.3.5/lib/rack/builder.rb:51:in `instance_eval'
2011-11-29T05:41:26+00:00 app[web.1]:     from /app/.gems/gems/rack-1.3.5/lib/rack/builder.rb:51:in `initialize'
2011-11-29T05:41:26+00:00 app[web.1]:     from /home/heroku_rack/heroku.ru:11:in `new'
2011-11-29T05:41:26+00:00 app[web.1]:     from /home/heroku_rack/heroku.ru:11:in `block in <main>'
2011-11-29T05:41:26+00:00 app[web.1]:     from /app/.gems/gems/rack-1.3.5/lib/rack/builder.rb:51:in `instance_eval'
2011-11-29T05:41:26+00:00 app[web.1]:     from /app/.gems/gems/rack-1.3.5/lib/rack/builder.rb:51:in `initialize'
2011-11-29T05:41:26+00:00 app[web.1]:     from /home/heroku_rack/heroku.ru:1:in `new'
2011-11-29T05:41:26+00:00 app[web.1]:     from /home/heroku_rack/heroku.ru:1:in `<main>'
2011-11-29T05:41:26+00:00 app[web.1]:     from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/rack/adapter/loader.rb:36:in `eval'
2011-11-29T05:41:26+00:00 app[web.1]:     from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/rack/adapter/loader.rb:36:in `load'
2011-11-29T05:41:26+00:00 app[web.1]:     from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/controllers/controller.rb:175:in `load_rackup_config'
2011-11-29T05:41:26+00:00 app[web.1]:     from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/controllers/controller.rb:65:in `start'
2011-11-29T05:41:26+00:00 app[web.1]:     from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/runner.rb:177:in `run_command'
2011-11-29T05:41:26+00:00 app[web.1]:     from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/runner.rb:143:in `run!'
2011-11-29T05:41:26+00:00 app[web.1]:     from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/bin/thin:6:in `<top (required)>'
2011-11-29T05:41:27+00:00 heroku[web.1]: State changed from starting to crashed
2011-11-29T05:43:55+00:00 heroku[router]: Error H10 (App crashed) -> GET arunanskanthan.heroku.com/ dyno= queue= wait= service= status=503 bytes=
</snip>

I checked... the website.rb id definetely there in app root where the config.ru file is... any suggestions?

Cheers,
@askalot

Ben Schwarz

unread,
Jan 6, 2013, 1:29:23 AM1/6/13
to tiny...@googlegroups.com, arunan....@gmail.com
I never remember seeing this post to respond to it. Did you get it working Arunan? 
Reply all
Reply to author
Forward
Message has been deleted
0 new messages