Problem installing rubygems on Ruby 1.9 RC

Discussion in 'Ruby' started by Ashutosh, Dec 7, 2007.

  1. Ashutosh

    Ashutosh Guest

    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
    Ashutosh, Dec 7, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rob .
    Replies:
    2
    Views:
    90
    Rob .
    Nov 10, 2004
  2. Trevor
    Replies:
    5
    Views:
    558
    Bill Kelly
    Jan 29, 2005
  3. Erik Veenstra
    Replies:
    4
    Views:
    797
    Austin Ziegler
    Feb 4, 2005
  4. Angrez
    Replies:
    0
    Views:
    161
    Angrez
    Mar 12, 2007
  5. Stefano Crocco
    Replies:
    0
    Views:
    96
    Stefano Crocco
    Sep 20, 2010
Loading...

Share This Page