Heroku rails console does not start any more

后端 未结 5 657
北海茫月
北海茫月 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 06:40

    If you have multiple environments (staging / production / etc) you need this command:

    heroku run -a app-name console
    

    If you only have a single environment and never setup staging or other environments you can just run:

    heroku run console
    

    https://github.com/nemrow/rails_app_cheatsheet/blob/master/heroku.rdoc

提交回复
热议问题