Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Problem installing rubygems on Ruby 1.9 RC

Reply
Thread Tools

Problem installing rubygems on Ruby 1.9 RC

 
 
Ashutosh
Guest
Posts: n/a
 
      12-07-2007
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rubygems 1.3.5 can't load 'rubygems/defaults/operating_sy..' Eric Roscher Ruby 3 11-24-2009 01:07 AM
Installing Ruby and RubyGems on Red Hat Linux 9 Angrez Ruby 0 03-12-2007 06:08 AM
[BUG] RubyGems: "No such file to load -- rubygems/builder" Erik Veenstra Ruby 4 02-04-2005 10:28 PM
Problems with fresh install of RubyGems on Ubuntu Linux: No suchfile to load -- rubygems/builder (LoadError) Trevor Ruby 5 01-29-2005 12:52 AM
Error installing rubygems 0.8.1 with ruby 1.8.2 Rob . Ruby 2 11-10-2004 03:55 AM



Advertisments