How can one switch environment in Rails 3?
A:
This is a monster of a question. I think the best compiled work towards accomplishing this with the least amount of mistakes is read this book :
http://www.railsupgradehandbook.com/
:D Good luck! I know of quite a few people who have already migrated all their projects to Rails3.
Trip
2010-08-14 21:14:32
I really don't think that's what's being asked here.
John Topley
2010-08-14 22:08:09
+3
A:
Use the environment flag:
rails s --environment=production
Or set the RAILS_ENV
environment variable.
jdeseno
2010-08-15 00:44:07