I am working on the Hartl Ruby on Rails tutorial, Chapter Two (https://www.railstutorial.org/book/toy_app), and working from Cloud9. I have installed the gem using this code:
gem install rails -v 4.2.0.beta4
I then add the gems to the gemfile.
I then create the new toy app:
rails _4.2.0.beta4_ new toy_app
I cd to the toy_app.
Then I bundle install:
bundle install --without production
I then scaffold:
rails generate scaffold User name:string email:string
and then I rake:
bundle exec rake db:migrate
But I continually get an error message when I try to access the webpage from Cloud9: https://rails-tutorial-codertodd-3.c9.io/.
The error message usually reads as follows: Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development
My friend also tried to do the same operation on a different computer and got the same error message. Any help would be much appreciated! Thanks!
-T