I am using c9 IDE.
The command I entered in the terminal: bundle exec rails generate migration CreateContacts
.
I get a message: error: could not find 'rails'
.
This is the command in Nitrous, is there a different command in cloud9?
Is there a step-by-step procedure to manually create the rails migration CreateContacts
in the File Directory in cloud9? What code is entered into the newly created files. I notice in the Rails Guide a a file is generated e.g. number (YYYYMMDDHHMMSS)_create_contacts.rb
, if this file is manually created will this number e.g. (20160928130510)_create_contacts.rb
- be correct and what code is entered into the file?
I'm pretty stuck here and need some expert guidance on this one please.