Heroku rails error trying to invoke the console - sh: rails: not found

Trying to start Heroku console, but I get the following:

heroku run console
Running console attached to terminal... up, run.1
sh: console: not found

$ heroku run bashworks, but I seem to get a (green) bash prompt - " ~ $" is not a rails console! Can I log in to the console here?

Fyi git push heroku v311
Everything up-to-date

+3
source share
5 answers

The first error is thrown simply because the command consoledoes not exist. I personally have never met a team called the console in my life.

Syntax heroku run the_command_i_want_to_run. For example: heroku run irbor heroku run bash.

: Rakefile. heroku run rails console , Rails , , () .
, git push heroku.
: heroku logs.

+4

:

heroku run rails console

+3

Bamboo ( , Cedar), :

heroku run script/rails console

, Heroku.

+3

.

$ heroku run console
0

heroku run -a my-app script/ rails

: https://devcenter.heroku.com/articles/console-bamboo

0
source

All Articles