I am new to Rails and I am following this guide. I successfully clicked my application on the hero, but I cannot make the database migrate.
I am using a virtual machine with an ubuntu server.
I typed:
$ heroku run rake db:migrate
and got this error:
Running `rake db:migrate` attached to terminal... up, run.3356 /usr/bin/env: ruby2.2: No such file or directory
I do not understand what I can do. I tried to use
$ heroku run rails db:migrate $ rake rails:update:bin
but it did not help.
source share