【发布时间】:2015-06-23 20:25:28
【问题描述】:
我已按照以下步骤运行 Unicorn/Nginx 应用程序: https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-with-rbenv-on-ubuntu-14-04 https://www.digitalocean.com/community/tutorials/how-to-deploy-a-rails-app-with-unicorn-and-nginx-on-ubuntu-14-04
除了数据库说明(因为我将使用 Mongo)之外,我已经完成了那里指出的所有事情。但是,当我执行(ip 编辑)时:
RAILS_ENV=production rails server --binding=123.456.789.01
Webrick 服务器已启动:
/home/username/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.0.2/lib/active_support/values/time_zone.rb:282: warning: circular argument reference - now
=> Booting WEBrick
=> Rails 4.0.2 application starting in production on http://123.456.789.01:3000
=> Run `rails server -h` for more startup options
我需要检查什么才能使生产设置正常工作吗?我不知道我需要验证什么。
【问题讨论】:
标签: ruby-on-rails ruby nginx unicorn webrick