Do you see the same behavior if you run "RACK_ENV=staging rails console" locally?
On Jul 14, 2011, at 5:04 AM, arunthampi wrote: > Hey guys - Tried running one of my apps on Cedar with RACK_ENV set to > 'staging' but when I run `heroku run rails console` it says "Loading > production environment". Also Rails.env returns "production". Anyone > else seeing this? Is this a known bug? > > Thanks! > Arun > > P.S. I checked and ENV['RACK_ENV'] is set to 'staging' but Rails.env > returns 'production' > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
