Trans wrote:

> With 0.9.4...
> 
>   C:\Documents and Settings\Milton\My Documents\Tom>gem install
>   rubyscript2exe ERROR:  While executing gem ...
> (Gem::RemoteFetcher::FetchError)
>       getaddrinfo: no address associated with hostname.(SocketError)
> 
>   C:\Documents and Settings\Milton\My Documents\Tom>gem install
> rubyscript2exe -no-http-proxy
>   ERROR:  While executing gem ... (NoMethodError)
>       undefined method `[]=' for #<Gem::ConfigFile:0x2e2ebc0>
> 
> With trunk:
> 
>   C:\Documents and Settings\Milton\My Documents\Tom>gem install
> rubyscript2exe
>   c:/ruby/bin/gem.bat:19: uninitialized constant Gem::GemRunner
> (NameError)
> 
> T.

Something must be wrong with your Ruby or RubyGems install. I just 
install the 1.8.6-25 one-click-installer in a virtual of XP and 
everything worked fine. Here are the steps I followed.

Add c:\ruby\bin to the beginning of my PATH.

c:\> gem up --system

(ran that twice)

c:\>gem pristine --all
ERROR:  While executing gem ... (Zlib::BufError)
    buffer error

(followed the fix here: 
http://www.nabble.com/Zlib::BufError-t4011137.html)

c:\>gem pristine --all

(install ruby-1.8.6-p110-i386-mswin32.zip into c:\ruby)

c:\>gem up -y (updates lots of win32 stuff)


C:\>ruby -v
ruby 1.8.6 (2007-09-23 patchlevel 110) [i386-mswin32]

C:\>gem -v
0.9.4



One last thing - I avoid using paths with spaces. You might double-check 
that your PATH and all the *.BAT files in c:\ruby\bin do *NOT* have any 
paths with spaces. It works better for me - might help you.

Good luck.

-- 
Posted via http://www.ruby-forum.com/.