swdyh

[rails]Railsの実行環境選択オプション

2007-03-26 19:34:16
% ./script/server -e production 

% ./script/console production  

% rake db:migrate RAILS_ENV=production 

ややこしい