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


Posted via

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
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment