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
I was with the same problem and I decided to do this and it worked
$ heroku run bash $ cd bin ~/bin $ ruby rails console