How do I upgrade to Rails 5 in the Cloud 9 IDE?
I recently started learning on https://www.railstutorial.org/ and when I started the tutorial used 4.2.2 but it was recently updated to 5.0.0. When I follow the tutorial and try to create a new app:
$ rails 5.0.0.rc2 new toy_app
Then I get this error message:
to_specs': Could not find 'railties' (= 5.0.0.rc2) - did find: [railties-4.2.6,railties-4.2.4,railties-4.2.2,railties-4.2.0.beta2] (Gem::MissingSpecVersionError) Checked in 'GEM_PATH=/usr/local/rvm/gems/ruby-2.2.1:/usr/local/rvm/gems/ruby-2.2.1@global', executegem env
for more information from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/dependency.rb:320:into_spec’
gem' from /usr/local/rvm/gems/ruby-2.2.1/bin/rails:22:in'
eval' from /usr/local/rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in’