Take the 2-minute tour ×

Using Ruby on Rails, if I do a

gem help install

a part of it says:

-y, --include-dependencies       Unconditionally install the required
                                 dependent gems


  --both --version '>= 0' --rdoc --ri --no-force
  --no-test --install-dir c:/ruby/lib/ruby/gems/1.8

but if I do a

gem install --include-dependencies mysql

a line says:


so looks like gem install always use --include-dependencies now? Just the docs of gem help install is a little outdated?

I am using the most recent gem:

C:\>gem -v

C:\>gem update --system
Updating RubyGems
Nothing to update

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

Yes, the documentation is a bit outdated.

gem install --include-dependencies option has been default for some time now.

share|improve this answer
add comment

Your Answer


