RUBYLIB environment variable STILL ignored
------------------------------------------

                 Key: JRUBY-1033
                 URL: http://jira.codehaus.org/browse/JRUBY-1033
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.0.0RC1
         Environment: Windows
            Reporter: Ronald Fischer
            Assignee: Thomas E Enebo


This was supposed to be fixed in JRuby 1.0.0RC1 (see 
http://jira.codehaus.org/browse/JRUBY-79), but at least on
Windows, the bug still is there. For example, I 'require' a module 
TransferAccess.rb from my Ruby program
tTransferAccess0.rb. The module is located in a directory listed in the RUBYLIB 
environment variable. Still,
Jruby does not find it. See the following Windows command line transscript:

H:\thome\playground>set RUBYLIB
RUBYLIB=H:\thome\grubylib;H:\thome\jrubylib;C:\rubymodw

H:\thome\playground>type tTransferAccess0.rb
require 'TransferAccess.rb'

H:\thome\playground>type H:\thome\grubylib\TransferAccess.rb
class TransferAccess
  attr_reader :host
  def initialize(host)
    @host=host
  end
end

H:\thome\playground>jruby --version
ruby 1.8.5 (2007-05-06 rev 3631) [x86-jruby1.0.0RC1]

H:\thome\playground>jruby tTransferAccess0.rb
tTransferAccess0.rb:5:in `require': no such file to load -- TransferAccess (Load
Error)
        from tTransferAccess0.rb:5





-- 
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