0

I'm using Nitrous on Windows 7, and trying to use RailsComposer following "Build ‘Learn Rails’ in Less Than Five Minutes" of the Learn Ruby on Rails book.

The book tells:

Use the “learn-rails” gemset we created earlier:

$ rvm use ruby-2.1.3@learn-rails

and then,

$ rails new foobar-kadigan -m https://raw.github.com/RailsApps/rails-composer/master/composer.rb

I have this error:

-bash: rails: command not found

Daniel Kehoe
  • 10,952
  • 6
  • 63
  • 82
joan prim
  • 11
  • 2
  • The book advises to create and use an RVM gemset named "learn-rails", installing Rails in the gemset. Check that the Rails gem is installed in the gemset with "rails -v". If not there, this article will help you install Rails: http://railsapps.github.io/rubyonrails-nitrous-io.html – Daniel Kehoe Nov 27 '14 at 18:48
  • Welcome to Stack Overflow. May all your questions be answered quickly and accurately! – Daniel Kehoe Nov 27 '14 at 18:51
  • TY. I see now. $ rvm use ruby-2.1.5@learn-rails --create $ gem install rails – joan prim Dec 10 '14 at 11:04

0 Answers0