Ruby on Rails Friday, September 30, 2011

Walter Davis wrote in post #1024385:
> On Sep 30, 2011, at 12:35 PM, Andre Flory wrote:
>
>> "RAILS_ENV" is not a command blah blah.
>>
>> So I reorder it to: rake db:migrate RAILS_ENV=production
>
> If you're using Rails 2.x, then this should work, although you might
> want to try quoting the word production in this syntax. If you're using
> Rails 3.x, then RAILS_ENV is deprecated or removed, depending on 3.0 vs
> 3.1. The new syntax is Rails.env, I believe.
>
> Walter


It's Rails 2.3.11 as per the requirements for the version of Redmine I
am installing. Rack version 1.1.1.

Neither single or double quotes worked in either ordering of the
command.

DemiSheep

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment