Skip to content

NetSshCompatability

Douglas Campos edited this page Feb 13, 2011 · 1 revision

Redhat Linux

JRuby Version jruby-openssl net-ssh
1.1.6 0.3 2.0.4
1.2.0 0.3 2.0.4

Installing old gems

Specify the version to install, e.g.:

 jruby -S gem install jruby-openssl -v 0.3

Using old gems in your script

 require 'rubygems'   # not required in a rails controller
 gem 'jruby-openssl', '0.3'
 gem 'net-ssh', '2.0.4'
 require 'net/ssh'
Clone this wiki locally