Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Heroku Cedar: how to stop using WEBrick

Tags:

heroku

In my Gemfile I have:

gem 'thin'

But when I push my application to Heroku Cedar, WEBrick is still used ("Booting WEBrick" in logs).

Where might be a problem?

like image 408
krn Avatar asked Jun 16 '11 08:06

krn


1 Answers

You just need to create a Procfile and add the following line:

web: bundle exec rails server -p $PORT thin -e $RACK_ENV

Push that to Heroku and you'll be all set.

like image 61
phlipper Avatar answered Sep 19 '22 15:09

phlipper