Connection refused when trying to install a gem, eg bundler
-----------------------------------------------------------

                 Key: JRUBY-5683
                 URL: http://jira.codehaus.org/browse/JRUBY-5683
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.6
         Environment: OSX 10.6.7, using rvm 1.5.2
            Reporter: Chris Kimpton
            Assignee: Thomas E Enebo
             Fix For: JRuby 1.5.7


Chris-Kimptons-MacBook-Air:temp kimptoc$ gem install bundler --debug
Exception `LoadError' at org/jruby/RubyKernel.java:1037 - no such file to load 
-- psych
Exception `Gem::LoadError' at 
/Users/kimptoc/.rvm/rubies/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems.rb:861 - 
RubyGem version error: sources(0.0.1 not > 0.0.1)

Exception `Gem::RemoteFetcher::FetchError' at 
/Users/kimptoc/.rvm/rubies/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:189
 - Errno::ECONNREFUSED: Connection refused - Connection refused 
(http://rubygems.org/latest_specs.4.8.gz)
Exception `Gem::GemNotFoundException' at 
/Users/kimptoc/.rvm/rubies/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:221
 - Could not find a valid gem 'bundler' (>= 0) locally or in a repository
ERROR:  Could not find a valid gem 'bundler' (>= 0) in any repository
Exception `Gem::RemoteFetcher::FetchError' at 
/Users/kimptoc/.rvm/rubies/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:189
 - Errno::ECONNREFUSED: Connection refused - Connection refused 
(http://rubygems.org/latest_specs.4.8.gz)
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    Errno::ECONNREFUSED: Connection refused - Connection refused 
(http://rubygems.org/latest_specs.4.8.gz)
        
/Users/kimptoc/.rvm/rubies/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:189:in
 `fetch_path'
        
/Users/kimptoc/.rvm/rubies/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:251:in
 `load_specs'
        
/Users/kimptoc/.rvm/rubies/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/maven_gemify.rb:72:in
 `load_specs'
        
/Users/kimptoc/.rvm/rubies/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:224:in
 `list'
        org/jruby/RubyArray.java:1572:in `each'
        
/Users/kimptoc/.rvm/rubies/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:220:in
 `list'
        
/Users/kimptoc/.rvm/rubies/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/maven_gemify.rb:63:in
 `list'
        
/Users/kimptoc/.rvm/rubies/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:182:in
 `suggest_gems_from_name'
        
/Users/kimptoc/.rvm/rubies/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/command.rb:160:in
 `show_lookup_failure'
        
/Users/kimptoc/.rvm/rubies/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:131:in
 `execute'
        org/jruby/RubyArray.java:1572:in `each'
        
/Users/kimptoc/.rvm/rubies/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:115:in
 `execute'
        
/Users/kimptoc/.rvm/rubies/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/command.rb:278:in
 `invoke'
        
/Users/kimptoc/.rvm/rubies/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:133:in
 `process_args'
        
/Users/kimptoc/.rvm/rubies/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:103:in
 `run'
        
/Users/kimptoc/.rvm/rubies/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:63:in
 `run'
        /Users/kimptoc/.rvm/rubies/jruby-1.6.0/bin/gem:25:in `(root)'
Exception `Gem::SystemExitException' at 
/Users/kimptoc/.rvm/rubies/jruby-1.6.0/lib/ruby/site_ruby/1.8/rubygems/user_interaction.rb:328
 - Exiting RubyGems with exit_code 1




Chris-Kimptons-MacBook-Air:temp kimptoc$ rvm --version

rvm 1.5.2 by Wayne E. Seguin ([email protected]) 
[http://rvm.beginrescueend.com/]



Chris-Kimptons-MacBook-Air:temp kimptoc$ ruby -v
jruby 1.6.0 (ruby 1.8.7 patchlevel 330) (2011-03-15 f3b6154) (Java HotSpot(TM) 
Client VM 1.6.0_24) [darwin-i386-java]



Chris-Kimptons-MacBook-Air:temp kimptoc$ gem list

*** LOCAL GEMS ***

rake (0.8.7)
sources (0.0.1)




Chris-Kimptons-MacBook-Air:temp kimptoc$ rvm info

jruby-1.6.0:

  system:
    uname:       "Darwin Chris-Kimptons-MacBook-Air.local 10.7.0 Darwin Kernel 
Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 
i386"
    bash:        "/bin/bash => GNU bash, version 3.2.48(1)-release 
(x86_64-apple-darwin10.0)"
    zsh:         "/bin/zsh => zsh 4.3.9 (i386-apple-darwin10.0)"

  rvm:
    version:      "rvm 1.5.2 by Wayne E. Seguin ([email protected]) 
[http://rvm.beginrescueend.com/]";

  ruby:
    interpreter:  "jruby"
    version:      "1.6.0"
    date:         "2011-03-15"
    platform:     "darwin-i386-java"
    patchlevel:   "TM"
    full_version: "jruby 1.6.0 (ruby 1.8.7 patchlevel 330) (2011-03-15 f3b6154) 
(Java HotSpot(TM) Client VM 1.6.0_24) [darwin-i386-java]"

  homes:
    gem:          "/Users/kimptoc/.rvm/gems/jruby-1.6.0"
    ruby:         "/Users/kimptoc/.rvm/rubies/jruby-1.6.0"

  binaries:
    ruby:         "/Users/kimptoc/.rvm/rubies/jruby-1.6.0/bin/ruby"
    irb:          "/Users/kimptoc/.rvm/rubies/jruby-1.6.0/bin/irb"
    gem:          "/Users/kimptoc/.rvm/rubies/jruby-1.6.0/bin/gem"
    rake:         "/Users/kimptoc/.rvm/rubies/jruby-1.6.0/bin/rake"

  environment:
    PATH:         
"/Users/kimptoc/.rvm/gems/jruby-1.6.0/bin:/Users/kimptoc/.rvm/gems/jruby-1.6.0@global/bin:/Users/kimptoc/.rvm/rubies/jruby-1.6.0/bin:/Users/kimptoc/.rvm/bin:/Users/kimptoc/Documents/java/libs/torquebox-current/jruby/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/kimptoc/bin:/usr/local/mysql/bin"
    GEM_HOME:     "/Users/kimptoc/.rvm/gems/jruby-1.6.0"
    GEM_PATH:     
"/Users/kimptoc/.rvm/gems/jruby-1.6.0:/Users/kimptoc/.rvm/gems/jruby-1.6.0@global"
    MY_RUBY_HOME: "/Users/kimptoc/.rvm/rubies/jruby-1.6.0"
    IRBRC:        "/Users/kimptoc/.rvm/rubies/jruby-1.6.0/.irbrc"
    RUBYOPT:      ""
    gemset:       ""


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