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.