You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Stephen Bannasch <st...@deanbrook.org> on 2008/06/29 07:34:37 UTC

problems installing buildr JRuby trunk on MacOS 10.5.3

This is using trunk JRuby (r7043) which is now using rubygems 1.1.2

[jruby.git (work)]$ jruby -S gem install buildr
JRuby limited openssl loaded. gem install jruby-openssl for full support.
http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
ERROR:  Error installing buildr:
	buildr requires net-ssh (= 2.0.1, runtime)

# ok install net-ssh v2.0.1 manually ...

[jruby.git (work)]$ jruby -S gem install net-ssh -v2.0.1
JRuby limited openssl loaded. gem install jruby-openssl for full support.
http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
Successfully installed net-ssh-2.0.1
1 gem installed
Installing ri documentation for net-ssh-2.0.1...
Installing RDoc documentation for net-ssh-2.0.1...

# now try again ...

[jruby.git (work)]$ jruby -S gem install buildr
JRuby limited openssl loaded. gem install jruby-openssl for full support.
http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
ERROR:  Error installing buildr:
	buildr requires net-sftp (= 2.0.0, runtime)

# looks like it's going to do this for every dependency one at a time!

Re: problems installing buildr JRuby trunk on MacOS 10.5.3

Posted by Stephen Bannasch <st...@deanbrook.org>.
At 1:34 AM -0400 6/29/08, Stephen Bannasch wrote:
>This is using trunk JRuby (r7043) which is now using rubygems 1.1.2

Not 1.1.2, RubyGems 1.2.0!

$ jruby -S gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.2.0
  - RUBY VERSION: 1.8.6 (2008-06-28 patchlevel 6586) [java]
  - INSTALLATION DIRECTORY: /Users/stephen/dev/jruby.git/lib/ruby/gems/1.8
  - RUBY EXECUTABLE: /Users/stephen/dev/jruby.git/bin/jruby
  - EXECUTABLE DIRECTORY: /Users/stephen/dev/jruby.git/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - universal-java-1.5
  - GEM PATHS:
     - /Users/stephen/dev/jruby.git/lib/ruby/gems/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
     - :sources => ["http://gems.rubyforge.org"]
  - REMOTE SOURCES:
     - http://gems.rubyforge.org

And I ended up getting buildr installed like this:

jruby -S gem install net-sftp -v2.0.0
jruby -S gem install rubyforge -v0.4.5
jruby -S gem install hoe -v1.3.0
jruby -S gem install rspec -v1.1.3
jruby -S gem install jruby-openssl -v0.2
jruby -S gem install buildr

Re: problems installing buildr JRuby trunk on MacOS 10.5.3

Posted by Assaf Arkin <ar...@intalio.com>.
On Fri, Jul 4, 2008 at 1:53 PM, Stephen Bannasch <
stephen.bannasch@deanbrook.org> wrote:

> At 8:31 AM -0700 7/1/08, Assaf Arkin wrote:
> >On Sun, Jun 29, 2008 at 12:47 PM, Assaf Arkin <ar...@intalio.com> wrote:
> >> On Sat, Jun 28, 2008 at 10:34 PM, Stephen Bannasch
> >> <st...@deanbrook.org> wrote:
> >>> This is using trunk JRuby (r7043) which is now using rubygems 1.1.2
> >>>
> >>> [jruby.git (work)]$ jruby -S gem install buildr
> >>> JRuby limited openssl loaded. gem install jruby-openssl for full
> support.
> >>> http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
> >>> ERROR:  Error installing buildr:
> >>>        buildr requires net-ssh (= 2.0.1, runtime)
> >>
> >> That's strange.  You get this error message because RubyGems knows it
> >> needs net-ssh to install Buildr, so it determines the dependencies
> >> correctly, but reports that it can't find net-ssh 2.0.1 anywhere.  But
> >> then when you try to install net-ssh, no problem.  I'm guessing
> >> something in RubyGems 1.2.0 that doesn't like JRuby?
> >
> >I just read that this is a known problem with RubyGems 1.2.0, has
> >nothing to do with JRuby specifically, no explanation how to correct
> >it, though.
> >
> >Assaf
>
> Yes. I does not affect all gems however and is not limited to jruby.
>
> For example rails dependencies still work find in jruby and mri while sake
> doesn't load it's dependencies in mri.
>

It's even worse. I got it to fail once on my machine, just like your case.
And that's it. I can't make it fail anymore. So I don't know if we're doing
something wrong with the gem spec, or something weird is happening with
rubygems.

assaf


>
> fyi: Bug report on rubgems bugtracker:
>
>
> http://rubyforge.org/tracker/index.php?func=detail&aid=21056&group_id=126&atid=575
>

Re: problems installing buildr JRuby trunk on MacOS 10.5.3

Posted by Stephen Bannasch <st...@deanbrook.org>.
At 8:31 AM -0700 7/1/08, Assaf Arkin wrote:
>On Sun, Jun 29, 2008 at 12:47 PM, Assaf Arkin <ar...@intalio.com> wrote:
>> On Sat, Jun 28, 2008 at 10:34 PM, Stephen Bannasch
>> <st...@deanbrook.org> wrote:
>>> This is using trunk JRuby (r7043) which is now using rubygems 1.1.2
>>>
>>> [jruby.git (work)]$ jruby -S gem install buildr
>>> JRuby limited openssl loaded. gem install jruby-openssl for full support.
>>> http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
>>> ERROR:  Error installing buildr:
>>>        buildr requires net-ssh (= 2.0.1, runtime)
>>
>> That's strange.  You get this error message because RubyGems knows it
>> needs net-ssh to install Buildr, so it determines the dependencies
>> correctly, but reports that it can't find net-ssh 2.0.1 anywhere.  But
>> then when you try to install net-ssh, no problem.  I'm guessing
>> something in RubyGems 1.2.0 that doesn't like JRuby?
>
>I just read that this is a known problem with RubyGems 1.2.0, has
>nothing to do with JRuby specifically, no explanation how to correct
>it, though.
>
>Assaf

Yes. I does not affect all gems however and is not limited to jruby.

For example rails dependencies still work find in jruby and mri while sake doesn't load it's dependencies in mri.

fyi: Bug report on rubgems bugtracker:

http://rubyforge.org/tracker/index.php?func=detail&aid=21056&group_id=126&atid=575

Re: problems installing buildr JRuby trunk on MacOS 10.5.3

Posted by Assaf Arkin <ar...@intalio.com>.
On Sun, Jun 29, 2008 at 12:47 PM, Assaf Arkin <ar...@intalio.com> wrote:
> On Sat, Jun 28, 2008 at 10:34 PM, Stephen Bannasch
> <st...@deanbrook.org> wrote:
>> This is using trunk JRuby (r7043) which is now using rubygems 1.1.2
>>
>> [jruby.git (work)]$ jruby -S gem install buildr
>> JRuby limited openssl loaded. gem install jruby-openssl for full support.
>> http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
>> ERROR:  Error installing buildr:
>>        buildr requires net-ssh (= 2.0.1, runtime)
>
> That's strange.  You get this error message because RubyGems knows it
> needs net-ssh to install Buildr, so it determines the dependencies
> correctly, but reports that it can't find net-ssh 2.0.1 anywhere.  But
> then when you try to install net-ssh, no problem.  I'm guessing
> something in RubyGems 1.2.0 that doesn't like JRuby?

I just read that this is a known problem with RubyGems 1.2.0, has
nothing to do with JRuby specifically, no explanation how to correct
it, though.

Assaf

>
> Assaf
>
>>
>> # ok install net-ssh v2.0.1 manually ...
>>
>> [jruby.git (work)]$ jruby -S gem install net-ssh -v2.0.1
>> JRuby limited openssl loaded. gem install jruby-openssl for full support.
>> http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
>> Successfully installed net-ssh-2.0.1
>> 1 gem installed
>> Installing ri documentation for net-ssh-2.0.1...
>> Installing RDoc documentation for net-ssh-2.0.1...
>>
>> # now try again ...
>>
>> [jruby.git (work)]$ jruby -S gem install buildr
>> JRuby limited openssl loaded. gem install jruby-openssl for full support.
>> http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
>> ERROR:  Error installing buildr:
>>        buildr requires net-sftp (= 2.0.0, runtime)
>>
>> # looks like it's going to do this for every dependency one at a time!
>>
>

Re: problems installing buildr JRuby trunk on MacOS 10.5.3

Posted by Assaf Arkin <ar...@intalio.com>.
On Sat, Jun 28, 2008 at 10:34 PM, Stephen Bannasch
<st...@deanbrook.org> wrote:
> This is using trunk JRuby (r7043) which is now using rubygems 1.1.2
>
> [jruby.git (work)]$ jruby -S gem install buildr
> JRuby limited openssl loaded. gem install jruby-openssl for full support.
> http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
> ERROR:  Error installing buildr:
>        buildr requires net-ssh (= 2.0.1, runtime)

That's strange.  You get this error message because RubyGems knows it
needs net-ssh to install Buildr, so it determines the dependencies
correctly, but reports that it can't find net-ssh 2.0.1 anywhere.  But
then when you try to install net-ssh, no problem.  I'm guessing
something in RubyGems 1.2.0 that doesn't like JRuby?

Assaf

>
> # ok install net-ssh v2.0.1 manually ...
>
> [jruby.git (work)]$ jruby -S gem install net-ssh -v2.0.1
> JRuby limited openssl loaded. gem install jruby-openssl for full support.
> http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
> Successfully installed net-ssh-2.0.1
> 1 gem installed
> Installing ri documentation for net-ssh-2.0.1...
> Installing RDoc documentation for net-ssh-2.0.1...
>
> # now try again ...
>
> [jruby.git (work)]$ jruby -S gem install buildr
> JRuby limited openssl loaded. gem install jruby-openssl for full support.
> http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
> ERROR:  Error installing buildr:
>        buildr requires net-sftp (= 2.0.0, runtime)
>
> # looks like it's going to do this for every dependency one at a time!
>