2009-04-17 Rails rake 実行時の環境を設定 製品環境のデータベースをバージョン6にする場合。 $ rake db:migrate RAILS_ENV=production VERSION=6