From: Takashi Nakamura Date: 2012-05-21T00:58:14+09:00 Subject: [ruby-list:48776] Re: Ruby1.9.3p194をwindows-xpへのローカルインストール時のエラーについて --0016e6da7d640fa84d04c079da2a Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit オプション --no-ri --no-rdoc --local が無効になってませんか? > D:\DevKit>gem install linecache19-0.5.13.gem -- > --with-ruby-include=D:\Ruby193p194_Debugger\rubysrc-1.9.3-p194 --no-ri > --no-rdoc --local > WARNING: Error fetching data: Errno::EHOSTUNREACH: A socket operation was > attempted to an unreachable host. - connect(2) > (http://rubygems.org/latest_specs.4.8. > gz) > Temporarily enhancing PATH to include DevKit... > Building native extensions. This could take a while... > Successfully installed linecache19-0.5.13 > 1 gem installed > Installing ri documentation for linecache19-0.5.13... > Installing RDoc documentation for linecache19-0.5.13... > > helpを見ると C:\Documents and Settings\takashi>gem help install Usage: gem install GEMNAME [GEMNAME ...] [options] -- --build-flags [options] 以下省略 >gem install linecache19-0.5.13.gem -- --with-ruby-include=D:\Ruby193p194_Debugger\rubysrc-1.9. 3-p194 --no-ri --no-rdoc --local ではなく >gem install linecache19-0.5.13.gem --no-ri --no-rdoc --local -- --with-ruby-include=D:\Ruby19 3p194_Debugger\rubysrc-1.9.3-p194 と思えるのですが 以下少しやってみました。http://rubygems.org/ には接続でき、ローカルにlinecache19-0.5.13.gemは入れてません。 C:\Documents and Settings\takashi>gem install linecache19-0.5.13.gem -- --with-ruby-include=D:\Ruby193p194_Debugger\rubysrc-1.9. 3-p194 --no-ri --no-rdoc --local ERROR: Could not find a valid gem 'linecache19-0.5.13.gem' (>= 0) in any repository ERROR: Possible alternatives: linecache193 ##linecache19-0.5.13.gemと書いているので、見つからなくrubygems.org より代替え linecache193の返答がありました。 C:\Documents and Settings\takashi>gem install linecache19-0.5.13.gem --no-ri --no-rdoc --local -- --with-ruby-include=D:\Ruby19 3p194_Debugger\rubysrc-1.9.3-p194 ERROR: Could not find a valid gem 'linecache19-0.5.13.gem' (>= 0) in any repository ##ローカルにlinecache19-0.5.13.gemを入れました。 C:\Documents and Settings\takashi>gem install linecache19-0.5.13.gem --no-ri --no-rdoc --local -- --with-ruby-include=D:\Ruby19 3p194_Debugger\rubysrc-1.9.3-p194 Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... Successfully installed linecache19-0.5.13 1 gem installed --build-flagsに関しては、私では判断しかねますので御了承願います。 中村たかし --0016e6da7d640fa84d04c079da2a--