开发者

Heroku Cedar: how to stop using WEBrick

In my Gemfile I have:

gem 'thin'

But when I push my application to Her开发者_运维百科oku Cedar, WEBrick is still used ("Booting WEBrick" in logs).

Where might be a problem?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜