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
[...]
Defaults:
--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:
INFO: `gem install -y` is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
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
1.3.7
C:\>gem update --system
Updating RubyGems
Nothing to update
C:\>
Yes, the documentation is a bit outdated.
gem install --include-dependencies option has been default for some time now.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With