Installing gems while in 1.9 mode fails
---------------------------------------

                 Key: JRUBY-4504
                 URL: http://jira.codehaus.org/browse/JRUBY-4504
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.5
         Environment: Mac OS X (10.6.2), jruby 1.5.0.dev (ruby 1.8.7 patchlevel 
174) (2010-01-19 eeb8109) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_17) 
[x86_64-java]
            Reporter: Mark Porter
            Assignee: Thomas E Enebo


Installing gems in 1.9 mode fails. Below is example output from an attempt at 
installing mongrel but the same results from attempting installs of other gems. 

Example output:

MRMIOMP0560-2:jruby mark.porter$ jruby --1.9 -S gem install mongrel
JRuby limited openssl loaded. http://jruby.org/openssl
gem install jruby-openssl for full support.
ERROR:  http://gems.rubyforge.org/ does not appear to be a repository
ERROR:  could not find gem mongrel locally or in a repository

Example output with debug flag passed to gem: 

MRMIOMP0560-2:jruby mark.porter$ jruby --1.9 -S gem install mongrel --debug
ERROR:  While executing gem ... (TypeError)
    can't convert Gem::LoadError into String
        
/Users/mark.porter/projects/jruby/lib/ruby/site_ruby/1.8/rubygems.rb:827:in 
`raise'
        
/Users/mark.porter/projects/jruby/lib/ruby/site_ruby/1.8/rubygems.rb:827:in 
`report_activate_error'
        
/Users/mark.porter/projects/jruby/lib/ruby/site_ruby/1.8/rubygems.rb:261:in 
`activate'
        
/Users/mark.porter/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/validator.rb:15
        
/Users/mark.porter/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/validator.rb:6:in
 `require'
        
/Users/mark.porter/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:6
        
/Users/mark.porter/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:167:in
 `require'
        
/Users/mark.porter/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:167:in
 `load_and_instantiate'
        
/Users/mark.porter/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:88:in
 `[]'
        
/Users/mark.porter/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:144:in
 `find_command'
        
/Users/mark.porter/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:131:in
 `process_args'
        
/Users/mark.porter/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:102:in
 `run'
        
/Users/mark.porter/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:58:in
 `run'
        /Users/mark.porter/projects/jruby/bin/gem:24
/Users/mark.porter/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/user_interaction.rb:265:in
 `raise': can't convert Gem::SystemExitException into String (TypeError)
        from 
/Users/mark.porter/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/user_interaction.rb:265:in
 `terminate_interaction'
        from 
/Users/mark.porter/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/user_interaction.rb:125:in
 `terminate_interaction'
        from 
/Users/mark.porter/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:107:in
 `run'
        from 
/Users/mark.porter/projects/jruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:58:in
 `run'
        from /Users/mark.porter/projects/jruby/bin/gem:24


-- 
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