Windows版はDebianと違ってCentosやRedhatのRubyと同じようにGemを更新できる。
C:\Windows\system32>gem update --system
-
- systemオプションをつける。
うまくいかない場合はRubygemsのソースコードもってくるとか
実行結果
C:\Windows\system32>gem update --system Updating RubyGems Updating rubygems-update Successfully installed rubygems-update-1.3.5 Updating RubyGems to 1.3.5 Installing RubyGems 1.3.5 RubyGems 1.3.5 installed ・ソ=== 1.3.5 / 2009-07-21 Bug fixes: * Fix use of prerelease gems. * Gem.bin_path no longer escapes path with spaces. Bug #25935 and #26458. Deprecation Notices: * Bulk index update is no longer supported (the code currently remains, but not the tests) * Gem::manage_gems was removed in 1.3.3. * Time::today was removed in 1.3.3. ------------------------------------------------------------------------------ RubyGems installed the following executables: C:/Users/takuya/ruby/bin/gem
特に問題はないみたい。
どうでもいいけどRubyの英語サイトと日本語サイトでWindows実行形式配布が違う
英語版ではOneClickInstallerが推奨なんでしょうかねぇ。(まあ中身同じだけどな)。Cygwin版を記載してないのね。
- Ruby 1.8.6 One-Click Installer (md5: 69945dfae60224cc64139c91e000590e) Stable version (recommended)
- Ruby 1.8.7-p72 Binary (md5: d4b04ba03a76dc70120fe96ffa22e5df) Stable version (recommended)
- Ruby 1.9.1-p376 Binary (md5: c12b4df115797a2f9766b56719805a12) Stable version (recommended)
Windows版Rubyバイナリ