Gem errors
----------

                 Key: JRUBY-2476
                 URL: http://jira.codehaus.org/browse/JRUBY-2476
             Project: JRuby
          Issue Type: Bug
          Components: Miscellaneous
    Affects Versions: JRuby 1.1.1
         Environment: Mac OS X 1.5.2, Java 1.5.0_13
            Reporter: Caleb Land


I untar JRuby 1.1.1, and then the following happens when I attempt to list out 
of date gems:

{{$ jruby -S gem outdated}}
{{Bulk updating Gem source index for: http://gems.rubyforge.org/}}
{{ERROR:  While executing gem ... (Gem::RemoteSourceException)}}
{{Error fetching remote gem cache: NameError: uninitialized constant 
Gem::RemoteFetcher::StringIO reading}}
{{http://gems.rubyforge.org/yaml}}

I get this same error when I try to do the following:

{{$ jruby -S gem sources -a http://gems.github.com}}

I've also tried this on Linux with Java 1.6, and I get the same error.

If I open up {{jruby-1.1.1/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb}} 
and add {{require 'stringio'}} to the top, it fixes the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to