【发布时间】:2014-02-28 05:40:43
【问题描述】:
我刚刚安装了 unicorn gem 并在 config/unicorn.rb 下添加了配置文件
我还添加了一个 Procfile,如下所示:
web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb
我想知道,为什么我的 localhost 没有在 Unicorn 中运行,即使我添加了这个?哪里说这应该只在生产环境中运行?
【问题讨论】:
标签: ruby-on-rails heroku