GithubHelp home page GithubHelp logo

Comments (11)

 avatar commented on July 24, 2024
$ 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.

 avatar commented on July 24, 2024

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.

delano avatar delano commented on July 24, 2024

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.

delano avatar delano commented on July 24, 2024

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.

 avatar commented on July 24, 2024

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:inparse_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:inmodule: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:inmodule: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:inmodule: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.

delano avatar delano commented on July 24, 2024

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.

rdp avatar rdp commented on July 24, 2024

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.

delano avatar delano commented on July 24, 2024

Roger, thanks for the info.

Do you have an example of how to specify that additional parameter?

from net-ssh.

rdp avatar rdp commented on July 24, 2024

http://groups.google.com/group/rubyinstaller/browse_thread/thread/fb4f807a9bb5baa4
perhaps

from net-ssh.

delano avatar delano commented on July 24, 2024

Thanks for the help Roger. I'll be working on this for the next release in September.

from net-ssh.

delano avatar delano commented on July 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.