[Locomotive-users] forcing environment to production?
Steven Talcott Smith
steve at talcottsystems.com
Wed Aug 2 20:08:27 GMT 2006
export RAILS_ENV=production is the answer.
hmmm... Ryan, maybe this could be automatic when you launch a
terminal from Locomotive?
Thanks,
Steven
On Aug 2, 2006, at 3:51 PM, Steven Talcott Smith wrote:
> I have set the environment to production in Locomotive and when I
> start the terminal window for the application, the little indicator
> is showing light blue for production.
>
> However, when I run script/console, it reports that it is using the
> development environment. Further, rake migrate seems to be trying
> to access the development db.
>
> I uncommented the first setting in the config/environment.rb but it
> seems not to do anything for me.
>
> Any suggestions? I need to be able to migrate my production db to
> get my app working...
>
> Much Appreciated,
>
> Steven
>
>
> _______________________________________________
> Locomotive-users mailing list
> Locomotive-users at lists.raaum.org
> http://lists.raaum.org/mailman/listinfo/locomotive-users
>
>
More information about the Locomotive-users
mailing list