0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

powを使ってdevelopment以外のRAILS_ENVでRailsを起動する

Posted at

ここでは書かないけれど Mac で Rails の開発をするなら pow が便利。

閑話休題

プロジェクトのルートに .powenv というファイルを作る

.powenv
export RAILS_ENV=local

もしくは $HOME/.powrc に書いてもいいけれど、こちらに書くと全ての Rails が local で起動されるようになるので注意。

これで pow が local として起動してくれる。開発サーバの development とローカル Mac で設定を変えたい場合に使える。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?