Help us understand the problem. What is going on with this article?

環境(開発、テスト、本番)を指定してrailsコンソールを起動する

More than 1 year has passed since last update.

タイトルの通りの備忘録です。
それぞれ以下のコマンドを実行します。

$ rails c -e development
$ rails c -e test
$ rails c -e production

上から、開発、テスト、本番の環境で起動します。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away