[#48737] Ruby1.9.3p194をwindows-xpへのローカルインストール時のエラーについて — eiichi_maekawa@...

13 messages 2012/05/09
[#48740] Re: Ruby1.9.3p194をwindows-xpへのローカルインストール時のエラーについて — "前川 映一" <eiichi_maekawa@...> 2012/05/11

前川です。

[#48741] Re: Ruby1.9.3p194をwindows-xpへのローカルインストール時のエラーについて — eiichi_maekawa@... 2012/05/14

前川です。

[#48750] Re: Ruby1.9.3p194をwindows-xpへのローカルインストール時のエラーについて — eiichi_maekawa@... 2012/05/15

前川です。

[#48746] gem install pg で、PQconnectionUsedPassword チェックが no となる — SHINODA Masanori <shinoda@...>

篠田と申します。初めて投稿します。

16 messages 2012/05/14

[ruby-list:48776] Re: Ruby1.9.3p194をwindows-xpへのローカルインストール時のエラーについて

From: Takashi Nakamura <tk47kmr.0904@...>
Date: 2012-05-20 15:58:14 UTC
List: ruby-list #48776
オプション --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に関しては、私では判断しかねますので御了承願います。

中村たかし

In This Thread