When I run the command
rails g migration migration_name
I will get the \"error\" message:
Usage: rails new APP
I've got the same, and i fixed by doing :
cd /root/path/to/your/project bundle install bundle update
Voilà :)