Well, for one thing, cap doesn't work with JRuby. (Not Capistrano's fault--JRuby's encryption code isn't up to snuff yet.) For the other, there isn't any option for setting the bind address for net-ssh. If you need that functionality, I'd encourage you to investigate a patch.
Thanks, Jamis On Jun 18, 2008, at 7:20 AM, Emiel van de Laar wrote: > > Hello all, > > I'm trying out Capistrano 2.4.0 on a slim gateway machine. > > My first question is how to specify the OpenSSH equivalent of > 'BindAddress'? > I need to specify this for all my outgoing SSH sessions. > > Second issue is the following. Capistrano appears to run ok so far, > but I do get the > following: > > nlxuss01:a129065 > cap -v --tasks > stty: standard input: Invalid argument > /mnt/nlxuss01/a129065/jruby-1.1.2/lib/ruby/gems/1.8/gems/ > capistrano-2.4.0/lib/capistrano/cli/help.rb:100:in `output_columns': > undefined method `>' for nil:NilClass (NoMethodError) > from /mnt/nlxuss01/a129065/jruby-1.1.2/lib/ruby/gems/1.8/gems/ > capistrano-2.4.0/lib/capistrano/cli/help.rb:37:in `task_list' > from /mnt/nlxuss01/a129065/jruby-1.1.2/lib/ruby/gems/1.8/gems/ > capistrano-2.4.0/lib/capistrano/cli/help.rb:15:in > `execute_requested_actions_with_help' > from /mnt/nlxuss01/a129065/jruby-1.1.2/lib/ruby/gems/1.8/gems/ > capistrano-2.4.0/lib/capistrano/cli/execute.rb:32:in `execute!' > from /mnt/nlxuss01/a129065/jruby-1.1.2/lib/ruby/gems/1.8/gems/ > capistrano-2.4.0/lib/capistrano/cli/execute.rb:14:in `execute' > from /mnt/nlxuss01/a129065/jruby-1.1.2/lib/ruby/gems/1.8/gems/ > capistrano-2.4.0/bin/cap:4:in `/mnt/nlxuss01/a129065/jruby-1.1.2/lib/ > ruby/gems/1.8/gems/capistrano-2.4.0/bin/cap' > from /mnt/nlxuss01/a129065/jruby-1.1.2/lib/ruby/gems/1.8/gems/ > capistrano-2.4.0/bin/cap:19:in `load' > from /mnt/nlxuss01/a129065/jruby-1.1.2/bin/cap:19 > > I'm running Capistrano using JRuby (no local MRI installation > available). > > nlxuss01:a129065 > java -version > java version "1.5.0_15" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04) > Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode) > nlxuss01:a129065 > jruby -v > ruby 1.8.6 (2008-05-28 rev 6586) [i386-jruby1.1.2] > nlxuss01:a129065 > jgem list > > *** LOCAL GEMS *** > > capistrano (2.4.0) > highline (1.4.0) > jruby-openssl (0.2.3) > net-scp (1.0.1) > net-sftp (2.0.1) > net-ssh (2.0.2) > net-ssh-gateway (1.0.0) > rake (0.8.1) > rspec (1.1.4) > sources (0.0.1) > > Thanks in advance! > > Cheers, > > - Emiel > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
