# Problem installing rubygems on Ruby 1.9 RC

**URL:** <https://www.ruby-forum.com/t/problem-installing-rubygems-on-ruby-1-9-rc/122389>\
**Category:** Ruby\
**Created:** [December 7, 2007, 7:47am UTC](https://www.ruby-forum.com/t/problem-installing-rubygems-on-ruby-1-9-rc/122389 "2007-12-07T07:47:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashutosh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e480ec/32.png) [@ashutosh](https://www.ruby-forum.com/u/ashutosh)\
**Post date:** [December 7, 2007, 7:47am UTC](https://www.ruby-forum.com/t/problem-installing-rubygems-on-ruby-1-9-rc/122389/1 "2007-12-07T07:47:21Z")

</div>

OK, so with help from Reacher and Luis, I was able to run my hello  
world program with Ruby 1.9.

(Had to turn of RUBYOPT env variable)

Now I tried installing Rubygems (rubygems-0.9.5) using setup.rb  
provided and got following error.

{{{  
Removing old RubyGems RDoc and ri…  
rm -rf d:/ruby19/lib/ruby/gems/1.9/doc/rubygems-0.9.5  
Installing rubygems-0.9.5 ri into d:/ruby19/lib/ruby/gems/1.9/doc/  
rubygems-0.9.5  
/ri…

RDoc failure in lib/rubygems/source\_index.rb at or around line 325  
column 18

Before reporting this, could you check that the file  
you’re documenting compiles cleanly–RDoc is not a  
full Ruby parser, and gets confused easily if fed  
invalid programs.

The internal error was:

d:/ruby19/lib/ruby/1.9/e2mmap.rb:161:in `Raise': $! not set (ArgumentError) from d:/ruby19/lib/ruby/1.9/e2mmap.rb:93:in`fail’  
from d:/ruby19/lib/ruby/1.9/rdoc/parsers/parse\_rb.rb:1130:in  
`identify_q uotation' from d:/ruby19/lib/ruby/1.9/rdoc/parsers/parse_rb.rb:909:in`block in le  
x\_int2’  
}}}

However, I could compile d:/ruby19/lib/ruby/1.9/e2mmap.rb  
{{{  
D:\ruby19\lib\ruby\1.9\>ruby -c e2mmap.rb  
Syntax OK  
}}}

Any suggestions?

regards,  
Ashutosh
