Comments (11)
$ ruby -v
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mingw32]
$ ruby -e 'puts $:'
c:/ruby/lib/ruby/gems/1.9.1/gems/actionmailer-2.3.2/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/actionpack-2.3.2/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/activerecord-2.3.2/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/activeresource-2.3.2/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/appoxy-aws-1.11.22/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/appoxy-local_cache-1.1.0/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/appoxy-simple_record-1.0.22/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/aws-1.11.9/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/bcurren-freshbooks.rb-3.0.3/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/big_cache-1.0.1/bin
c:/ruby/lib/ruby/gems/1.9.1/gems/big_cache-1.0.1/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/fastercsv-1.5.0/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/git-1.1.1/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/hoe-2.3.2/bin
c:/ruby/lib/ruby/gems/1.9.1/gems/hoe-2.3.2/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/jeweler-1.0.1/bin
c:/ruby/lib/ruby/gems/1.9.1/gems/jeweler-1.0.1/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/memcache-client-1.7.4/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/mislav-will_paginate-2.3.11/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/mysql-2.7.3-x86-mswin32/ext
c:/ruby/lib/ruby/gems/1.9.1/gems/mysql-2.7.3-x86-mswin32/bin
c:/ruby/lib/ruby/gems/1.9.1/gems/quetzall-cloud_cache-1.1.3/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/rails-2.3.2/bin
c:/ruby/lib/ruby/gems/1.9.1/gems/rails-2.3.2/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/rake-0.8.7/bin
c:/ruby/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/right_http_connection-1.2.4/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/rubyforge-1.0.3/bin
c:/ruby/lib/ruby/gems/1.9.1/gems/rubyforge-1.0.3/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/rufus-scheduler-2.0.1/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/sqlite3-ruby-1.2.4/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/uuidtools-2.0.0/lib
c:/ruby/lib/ruby/gems/1.9.1/gems/xml-simple-1.0.12/lib
c:/ruby/lib/ruby/site_ruby/1.9.1
c:/ruby/lib/ruby/site_ruby/1.9.1/i386-msvcrt
c:/ruby/lib/ruby/site_ruby
c:/ruby/lib/ruby/vendor_ruby/1.9.1
c:/ruby/lib/ruby/vendor_ruby/1.9.1/i386-msvcrt
c:/ruby/lib/ruby/vendor_ruby
c:/ruby/lib/ruby/1.9.1
c:/ruby/lib/ruby/1.9.1/i386-mingw32
.
$ ruby -r dl/import -e 'p defined?(DL)'
"constant"
from net-ssh.
I found this comment on a different project about it: http://rubyforge.org/tracker/index.php?func=detail&aid=24943&group_id=3441&atid=13229
"it's called DL::Importer, instead of DL::Importable now"
from net-ssh.
Great thanks for the update. It looks like a simple fix.
I'll look into it tomorrow and let you know if it's resolved or if I need more info.
from net-ssh.
I took a look and it seems like there are other changes with DL::Importer. After making that change, there's an issue with the calls to DLL functions in pageant.rb.
I'll look into it further in the next couple weeks.
from net-ssh.
Ok, ya, I just tried it and got this now:
C:/ruby/lib/ruby/1.9.1/dl/cparser.rb:104:in parse_ctype': unknown type: HWND (DL::DLError) from C:/ruby/lib/ruby/1.9.1/dl/cparser.rb:53:in
parse_signature'
from C:/ruby/lib/ruby/1.9.1/dl/import.rb:116:in extern' from C:/ruby/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.11/lib/net/ssh/authentication/pageant.rb:47:in
module:Win'
from C:/ruby/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.11/lib/net/ssh/authentication/pageant.rb:23:in <module:Pageant>' from C:/ruby/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.11/lib/net/ssh/authentication/pageant.rb:15:in
module:Authentication'
from C:/ruby/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.11/lib/net/ssh/authentication/pageant.rb:6:in <module:SSH>' from C:/ruby/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.11/lib/net/ssh/authentication/pageant.rb:6:in
module:Net'
from C:/ruby/lib/ruby/gems/1.9.1/gems/net-ssh-2.0.11/lib/net/ssh/authentication/pageant.rb:6:in `<top (required)>'
from net-ssh.
Okay, that's good. I got the same error so it's not just me :]
There must be some other differences between DL::Importable and DL::Importer.
from net-ssh.
Net::SSH is using Win32API for Pageant Agent, Win32API has been marked
as "deprecated" after 1.9.0, but is back, yet still, you need to add
an additional parameter to indicate cdecl or stdcall calling
convention.
The agent code needs to be revised, even better if can be rewritten,
since is brittle.
Last time I had Windows Media Player open with an high bitrate OGG it
missed to find my loaded keys.
from net-ssh.
Roger, thanks for the info.
Do you have an example of how to specify that additional parameter?
from net-ssh.
http://groups.google.com/group/rubyinstaller/browse_thread/thread/fb4f807a9bb5baa4
perhaps
from net-ssh.
Thanks for the help Roger. I'll be working on this for the next release in September.
from net-ssh.
Moved to new issue tracker:
http://net-ssh.lighthouseapp.com/projects/36253-net-ssh/tickets/3-doesnt-work-with-ruby-19-windows
from net-ssh.
Related Issues (20)
- Race condition doing successive exec!
- Error: EVP_PKEY_sign: passed a null parameter
- deploying to server with ed25519 genereated key fails HOT 1
- Fails to set client `host_key` to `ssh-ed25519` HOT 1
- Getting error undefined method 'keys' for PASSWORD: string HOT 1
- Remove hmac-*-96 algorithms HOT 2
- How does append_all_supported_algorithms work? HOT 1
- Connections using hmac-etm gets closed by remote host HOT 4
- Net::SSH.start does not work with configs with IdentityAgent options HOT 1
- Do we have a way to enable FIPS-only mode for net-ssh library HOT 3
- net-ssh 7.1.0 - Incorrectly determines ED25519 when Private Key is RSA HOT 2
- Pubkey authentication results in SSH::Disconnect from server in Net-SSH 7.2 HOT 3
- Raises exception when loading SSH Keys with using windows new lines HOT 2
- No output while executing bash script with parameter HOT 1
- Add support for RequiredRSASize and PubkeyAcceptedKeyTypes in openssh config HOT 1
- Connection Failure on FIPS mode when debug mode is enabled. HOT 1
- Unable to establish SSH connection due to key exchange algorithm mismatch HOT 1
- 7.2.2 giving me error when using sshkit to remotely execute commands HOT 10
- (Net::SSH::HostKeyMismatch) random error when connecting to Debian 12 (OpenSSH_9.2)
- unsupported key type `rsa-sha2-512' (NotImplementedError) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from net-ssh.