I'm attempting to update some extended buildr code to work with 1.3.1.1. The code in question was coded against 1.2.10 AND the older 1.x versions of net-ssh and net-sftp. The upgrade to buildr 1.3.1.1 requires the 2.x versions of net-ssh and net-sftp but I'd like to stick with the 1.x versions for the old extended code until I have a chance to update for 2.x versions. Note that there were some major changes to the net-sftp which are not backward compatible.
My question is: Is there a way to load the 2.x gem versions of net-ssh and net-sftp for buildr and load the older 1.x versions for a specific class? I've tried the following: require 'rubygems' gem 'net-ssh', '=1.1.2' require 'net/ssh' require 'net/ssh/version' gem 'net-sftp', '=1.1.0' require 'net/sftp' require 'find' this results in something like.... can't activate net-ssh (=1.1.2), already activated net-ssh-2.0.1 Any suggestions that don't involve rewriting the 1.x dependent class? -- -Shane
