I am migrating the DB from my app
to Heroku
, deploy
worked:
$ git push heroku master
When trying to migrate the database according to the command $ heroku run rake db:migrate
does not work and returns the following error:
$: No such file or directory
In the log of heroku
it has the following entry:
> $ heroku logs > $ : No such file or directory00:00 app[web.1]: /usr/bin/env: ruby
How do I resolve this?