Sử dụng Ruby on Rails, nếu tôi làm mộtVới Ruby, "cài đặt gem" có sử dụng "--include-dependencies" ... chỉ cần doc là một chút lỗi thời?
gem help install
một phần của nó nói:
-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
nhưng nếu tôi làm một
gem install --include-dependencies mysql
một dòng nói:
INFO: `gem install -y` is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
trông rất như gem install
luôn sử dụng --include-dependencies
ngay bây giờ? Chỉ cần các tài liệu của gem help install
là một chút lỗi thời?
Tôi đang sử dụng đá quý gần đây nhất:
C:\>gem -v
1.3.7
C:\>gem update --system
Updating RubyGems
Nothing to update
C:\>
Có vẻ như Gem 2.0, '-y' và' --include-dependencies' đã bị xóa hoàn toàn và hiện kích hoạt tùy chọn ** ERROR: invalid ** –