[
https://issues.apache.org/jira/browse/BUILDR-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602810#action_12602810
]
Assaf Arkin commented on BUILDR-82:
-----------------------------------
Net::SSH has an interesting way of checking when you're running on Windows:
require 'net/ssh/authentication/pageant' if File::ALT_SEPARATOR
So it's happily deciding that you're running on Windows and tries to use
Pageant with the Win32 API, which doesn't work on JRuby. Not sure how to fix
this yet.
> JRuby 1.1.2 and Buildr 1.3.1.1 don't appear to work
> ---------------------------------------------------
>
> Key: BUILDR-82
> URL: https://issues.apache.org/jira/browse/BUILDR-82
> Project: Buildr
> Issue Type: Bug
> Components: JRuby
> Affects Versions: 1.3.1
> Environment: Windows XP, Buildr 1.3.1.1 (via gem install), JDK
> 1.6.0_06
> Reporter: Shane Witbeck
> Priority: Blocker
>
> This occurs after a fresh install...
> C:\Documents and Settings\Shane>jruby -S buildr
> C:/jruby-1.1.2/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `require'
> : no such file to load -- dl/import (LoadError)
> from
> C:/jruby-1.1.2/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27
> :in `require'
> from
> C:/jruby-1.1.2/lib/ruby/gems/1.8/gems/net-ssh-2.0.1/lib/net/ssh/aut
> hentication/pageant.rb:1:in
> `C:/jruby-1.1.2/lib/ruby/gems/1.8/gems/net-ssh-2.0.1
> /lib/net/ssh/authentication/pageant.rb'
> from
> C:/jruby-1.1.2/lib/ruby/gems/1.8/gems/net-ssh-2.0.1/lib/net/ssh/aut
> hentication/pageant.rb:27:in `require'
> from
> C:/jruby-1.1.2/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27
> :in `require'
> from
> C:/jruby-1.1.2/lib/ruby/gems/1.8/gems/net-ssh-2.0.1/lib/net/ssh/aut
> hentication/agent.rb:6:in
> `C:/jruby-1.1.2/lib/ruby/gems/1.8/gems/net-ssh-2.0.1/l
> ib/net/ssh/authentication/agent.rb'
> from
> C:/jruby-1.1.2/lib/ruby/gems/1.8/gems/net-ssh-2.0.1/lib/net/ssh/aut
> hentication/agent.rb:27:in `require'
> from
> C:/jruby-1.1.2/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27
> :in `require'
> from
> C:/jruby-1.1.2/lib/ruby/gems/1.8/gems/net-ssh-2.0.1/lib/net/ssh/aut
> hentication/key_manager.rb:4:in
> `C:/jruby-1.1.2/lib/ruby/gems/1.8/gems/net-ssh-2
> .0.1/lib/net/ssh/authentication/key_manager.rb'
> ... 11 levels...
> from
> C:/jruby-1.1.2/lib/ruby/gems/1.8/gems/buildr-1.3.1.1-java/bin/build
> r:19:in `C:/jruby-1.1.2/lib/ruby/gems/1.8/gems/buildr-1.3.1.1-java/bin/buildr'
> from
> C:/jruby-1.1.2/lib/ruby/gems/1.8/gems/buildr-1.3.1.1-java/bin/build
> r:19:in `load'
> from C:/jruby-1.1.2/bin/buildr:19
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.