开发者

CruiseControl.rb always running my projects in production mode?

开发者 https://www.devze.com 2022-12-08 23:54 出处:网络
I\'m curious as to why when I build my project using CruiseControl.rb, it runs it in production mode? Even though my application should not be in production开发者_如何学编程 mode. I even tried to spec

I'm curious as to why when I build my project using CruiseControl.rb, it runs it in production mode? Even though my application should not be in production开发者_如何学编程 mode. I even tried to specify: ENV['RAILS_ENV'] ||= 'development' in my app's environment.rb


That environment.rb line will only set your environment to development if the environment is not already set.

For information about how they suggest configuring your build environments, see:

Their Manual Entry on the subject

0

精彩评论

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