From: Jamis Buck Date: 2004-12-03T01:15:57+09:00 Subject: Re: OpenSSL and 1-click installer (Re: [ANN] Net::SSH 0.6.0) James Britt wrote: > Jamis Buck wrote: > >> ... >> It looks like the version of the Ruby/OpenSSL module you have >> installed is not the right version... The RSA and DSA keys in the >> version in 1.8.2 allow for a no-argument constructor, whereas prior >> versions in did, and that's the problem you are seeing. >> >> Try this: >> >> ruby -ropenssl -e "OpenSSL::PKey::DSA.new" >> >> If that fails, then you know you've got the wrong version. If it >> succeeds...well, let me know. > > > c:\> ruby -ropenssl -e "OpenSSL::PKey::DSA.new" > -e:1:in `initialize': wrong number of arguments (0 for 1) (ArgumentError) > from -e:1:in `new' > from -e:1 > > > I think we had this discussion during RubyConf2004; I have been unable > to locate and install a proper OpenSSL lib. > > Should the 1-click installer include SSL libs that Just Work? I may > have screwed up my libs in October while trying to get SSH running, but > I recently installed the latest 1-click 1.8.2, so I was hoping it would > have been bundled with the correct SSL lib. > > Has anyone gotten Net:SSH working with the 1-click version? Well, I have, but only because I compiled the Ruby/OpenSSL module myself. It relies on version 8 of the msvcrt dll, which you may or may not have installed, but if you'd like I can send along (or post) the binary version I created. - Jamis -- Jamis Buck jgb3@email.byu.edu http://www.jamisbuck.org/jamis