よく忘れるのでメモ。コマンドのオプションとかではなく環境変数RAILS_ENVを設定することで出来る
ex) productionで実行する
export RAILS_ENV=production; rake hogefug…
Go to list of users who liked
More than 5 years have passed since last update.
よく忘れるのでメモ。コマンドのオプションとかではなく環境変数RAILS_ENVを設定することで出来る
export RAILS_ENV=production; rake hogefug…
Register as a new user and use Qiita more conveniently
Go to list of users who liked