I’m a freshman on Ruby and now trying to install ruby on my machine
according to the Tutorial on http://wiki.openqa.org/display/WTR/Tutorial
However, after I installed the ruby186-26, and run the command “gem
update --system”, the following error occurred:
C:\Documents and Settings\e482090\Desktop>gem update --system
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:51:in
`initialize': Inval
id argument - <Not Set>/.gemrc (Errno::EINVAL)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:
51:in `open'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:
51:in `initi
alize'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:
36:in `new'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:
36:in `do_con
figuration'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:
25:in `run'
from c:/ruby/bin/gem:23
C:\Documents and Settings\e482090\Desktop>gem install watir
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:51:in
`initialize': Inval
id argument - <Not Set>/.gemrc (Errno::EINVAL)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:
51:in `open'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:
51:in `initi
alize'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:
36:in `new'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:
36:in `do_con
figuration'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:
25:in `run'
from c:/ruby/bin/gem:23
Meanwhile, we have tried this on other machines and the result turned
out ok.
Thus, my question is why the error happened on my pc? Have you met
this kind of error before? Thank you.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
You received this message because you are subscribed to
http://groups.google.com/group/watir-general
To post: [email protected]
To unsubscribe: [email protected]