我添加Gem 'unicorn'
到Gemfile并调用rails server unicorn -e production
,但出现加载错误。然后添加Gem 'unicorn_rails'
,然后调用rails server unicorn -e production
,但找不到套接字文件。所以我正在考虑是否不使用该config/unicorn.rb
文件作为配置?所以我打电话unicorn_rails -c config/unicorn.rb -E production -D
,但是我遇到另一个错误text file busy
。
所以现在我陷入了困境,您能帮我吗?:)
它应该看起来像:
bundle exec unicorn -E production -c config/unicorn.rb
而且你只需要unicorn
宝石
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句