Heroku rails error trying to bring up console - sh: rails: not found
console, heroku, ruby, ruby-on-rails
Solution
The first error is thrown simply because the `console` command doesn't exist. I personally have never meet a command called console in my life.
The syntax is `heroku run the_command_i_want_to_run`. For example: `heroku run irb` or `heroku run bash`.
The second error: There's no Rakefile in your project root. Since `heroku run rails console` say that Rails wasn't found, my guess is that your project wasn't (well) deployed. Make sure you've done `git push heroku`. You may also need to check the logs: `heroku logs`.
Problem
Trying to run the Heroku console but I am getting this following: ``` heroku run console Running console attached to terminal... up, run.1 sh: console: not found ``` `$ heroku run bash` works but I seem to get a (green) bash prompt - "`~ $`" not a rails console! Can I get into the console from here? fyi `git push heroku v311 Everything up-to-date`