JRuby does not find library installed via gem
---------------------------------------------

                 Key: JRUBY-937
                 URL: http://jira.codehaus.org/browse/JRUBY-937
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 0.9.9
         Environment: Windows XP

            Reporter: Ronald Fischer
            Assignee: Thomas E Enebo


I installed the net-ssh Gem like this:

H:\dl\lang\net-ssh-1.1.1>gem install net-ssh
Bulk updating Gem source index for: http://gems.rubyforge.org
Install required dependency needle? [Yn]  y
Successfully installed net-ssh-1.1.1
Successfully installed needle-1.3.0
Installing ri documentation for net-ssh-1.1.1...
Installing ri documentation for needle-1.3.0...
Installing RDoc documentation for net-ssh-1.1.1...
Installing RDoc documentation for needle-1.3.0...

This is my Gem environment:

C:\ruby185\lib\ruby\site_ruby>gem environment
RubyGems Environment:
  - VERSION: 0.9.1 (0.9.1)
  - INSTALLATION DIRECTORY: H:/jruby-0.9.9/lib/ruby/gems/1.8
  - GEM PATH:
     - H:/jruby-0.9.9/lib/ruby/gems/1.8
  - REMOTE SOURCES:
     - http://gems.rubyforge.org 

But when I want to run the following program, I get an error message
saying
that net/ssh is not found:

H:\tmp>type t2.rb
require 'socket'
require 'net/telnet'
require 'net/ssh'

H:\tmp>jruby t2.rb
t2.rb:3:in `require': no such file to load -- net/ssh (LoadError)
        from t2.rb:3 



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to