Rubygems doesn't find the repository

Hi everyone,
I can’t install any gem through jruby’s rubygems. See the problem below:

root@K2:/usr/local/jruby/bin# ./gem install rails
JRuby limited openssl loaded. gem install jruby-openssl for full
support.
http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL
ERROR: http://gems.rubyforge.org/ does not appear to be a repository
ERROR: could not find gem rails locally or in a repository

root@K2:/usr/local/jruby/bin# ./gem install rails --source
http://rubygems.org
JRuby limited openssl loaded. gem install jruby-openssl for full
support.
http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL
ERROR: http://rubygems.org/ does not appear to be a repository
ERROR: could not find gem rails locally or in a repository

root@K2:/usr/local/jruby/bin# ping gems.rubyforge.org
PING gems.rubyforge.org (72.4.120.124) 56(84) bytes of data.
64 bytes from 72.4.120.124: icmp_seq=1 ttl=43 time=519 ms
^C^C64 bytes from 72.4.120.124: icmp_seq=2 ttl=43 time=466 ms

root@K2:/usr/local/jruby/bin# ping rubygems.org
PING rubygems.org (72.4.120.124) 56(84) bytes of data.
64 bytes from 72.4.120.124: icmp_seq=1 ttl=43 time=511 ms

What is the deal?

On Sun, May 16, 2010 at 12:11 PM, Bruno S. [email protected]
wrote:

I can’t install any gem through jruby’s rubygems. See the problem below:

root@K2:/usr/local/jruby/bin# ./gem install rails

Do you get the same result from jruby -S gem install rails ?

What does jruby -S gem env return?


Hassan S. ------------------------ [email protected]
twitter: @hassan


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On Sun, May 16, 2010 at 1:40 PM, Bruno S. [email protected]
wrote:

root@K2:/usr/local/jruby-1.4.1# ln -s /usr/local/jruby-1.4.1/bin/jgem
/usr/bin/gem

Not sure what all the symlinking is about, but you’re a couple of revs
down on gem level – can you do a sudo gem update --system ?


Hassan S. ------------------------ [email protected]
twitter: @hassan


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Same error :frowning:

root@K2:/usr/local/jruby-1.4.1# ln -s /usr/local/jruby-1.4.1/bin/jgem
/usr/bin/gem
root@K2:/usr/local/jruby-1.4.1# ln -s /usr/local/jruby-1.4.1/bin/jruby
/usr/bin/jruby
root@K2:/usr/local/jruby-1.4.1# ln -s /usr/local/jruby-1.4.1/bin/jruby
/usr/bin/ruby
root@K2:/usr/local/jruby-1.4.1# jruby -S gem install rails
JRuby limited openssl loaded. gem install jruby-openssl for full
support.
http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL
ERROR: http://gems.rubyforge.org/ does not appear to be a repository
ERROR: could not find gem rails locally or in a repository
root@K2:/usr/local/jruby-1.4.1# jruby -S gem env
RubyGems Environment:

  • RUBYGEMS VERSION: 1.3.5
  • RUBY VERSION: 1.8.7 (2010-04-26 patchlevel 174) [java]
  • INSTALLATION DIRECTORY: /usr/local/jruby-1.4.1/lib/ruby/gems/1.8
  • RUBY EXECUTABLE: /usr/local/jruby-1.4.1/bin/jruby
  • EXECUTABLE DIRECTORY: /usr/local/jruby-1.4.1/bin
  • RUBYGEMS PLATFORMS:
    • ruby
    • universal-java-1.6
  • GEM PATHS:
    • /usr/local/jruby-1.4.1/lib/ruby/gems/1.8
  • GEM CONFIGURATION:
    • :update_sources => true
    • :verbose => true
    • :benchmark => false
    • :backtrace => false
    • :bulk_threshold => 1000
    • “install” => “–env-shebang”
    • “update” => “–env-shebang”
  • REMOTE SOURCES:

Hassan S. wrote:

On Sun, May 16, 2010 at 12:11 PM, Bruno S. [email protected]
wrote:

I can’t install any gem through jruby’s rubygems. See the problem below:

root@K2:/usr/local/jruby/bin# ./gem install rails

Do you get the same result from jruby -S gem install rails ?

What does jruby -S gem env return?


Hassan S. ------------------------ [email protected]
twitter: @hassan


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

same problem with gem update --system

I’m running it on amd64. should that be a problem?

Hassan S. wrote:

On Sun, May 16, 2010 at 1:40 PM, Bruno S. [email protected]
wrote:

root@K2:/usr/local/jruby-1.4.1# ln -s /usr/local/jruby-1.4.1/bin/jgem
/usr/bin/gem

Not sure what all the symlinking is about, but you’re a couple of revs
down on gem level – can you do a sudo gem update --system ?


Hassan S. ------------------------ [email protected]
twitter: @hassan


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Perhaps you bumped into this as well, a problem with ipv6 in
deban/ubuntu:

http://twitter.com/spastorino/status/14365539991

On Sun, May 16, 2010 at 11:30 PM, Hassan S. <

On Sun, May 16, 2010 at 2:19 PM, Bruno S. [email protected]
wrote:

same problem with gem update --system

I’m running it on amd64. should that be a problem?

Can’t imagine how.

Can you do a jruby -S gem sources --add http://gemcutter.org and
then try jruby -S gem update --system again?

Also, are you sure you’re not accessing the 'net through a proxy?


Hassan S. ------------------------ [email protected]
twitter: @hassan


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email