Heroku rails console does not start any more

后端 未结 5 600
北海茫月
北海茫月 2021-02-05 06:36

I have an issue with running the rails console at heroku (cedar-stack). Each of the following commands heroku run console, heroku run rails console, heroku run bundle exec rails

5条回答
  •  鱼传尺愫
    2021-02-05 07:03

    You should just use heroku run console as others have answered.

    Heroku only runs in one environment at a time, which is configured by the RAILS_ENV and RACK_ENV environments variables.

    When you connect, the console will use the correct environment automatically.

提交回复
热议问题