一切都在问题中: 为什么phusion乘客在生产模式下要求factory_girl_rails gem?为什么phusion乘客在生产模式下要求factory_girl_rails gem?
我的Gemfile确实countains只有这一行约factory_girl_rails:错误屏幕上,他正在作为生产服务器
group :development, :test do
# BUG version 4.2.0 needs to ass factory-girl in developpement https://github.com/thoughtbot/factory_girl_rails/issues/89
# Ressource : https://github.com/sporkrb/spork-rails
gem 'factory_girl_rails'
end
我的Phusion乘客确认:
Environment (value of RAILS_ENV, RACK_ENV, WSGI_ENV and PASSENGER_ENV)
production
什么是错。
因为解决方法是有害的把factory_girl_rails gem投入生产?