Helpful Information
 
 
Category: Ruby Programming
RUBY on RAIL installation problem

Can anybody help me with installation of Ruby with Rail?
Here is the error when I try to install rail

C:\>gem install rails --include-dependencies

C:\>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" install rails --include-dependenc
s
ERROR: While executing gem ... (OptionParser::InvalidOption)
invalid option: --include-dependencies

C:\>gem install rails --include-dependencies

C:\>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem" install rails --include-dependenc
s
ERROR: While executing gem ... (OptionParser::InvalidOption)
invalid option: --include-dependencies

use the `-y` switch instead, it's much shorter too...

C:\> cd ruby\bin
C:\> ruby gem.rb install rails -y

Scratch that.

C:\>gem install rails
installed the dependencies for me

you could always run `ruby gem --help` to see the switches. They may have done away with that switch, it always seemed stupid that they didn't include dependencies by default, although my gem version was downloaded under 3 weeks ago.










privacy (GDPR)