Problem installing rubygems on Ruby 1.9 RC

A

Ashutosh

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,699
Latest member
AnneRosen

Latest Threads

Top