LoadError when trying to require a .so.rb ruby file
---------------------------------------------------

                 Key: JRUBY-5569
                 URL: http://jira.codehaus.org/browse/JRUBY-5569
             Project: JRuby
          Issue Type: Bug
          Components: Interpreter
    Affects Versions: JRuby 1.6RC3
         Environment: MacOSX 1.0.6
            Reporter: Simone Carletti


Here's the error

{code}
LoadError: no such file to load -- whois/answer/parser/whois.nic
   require at org/jruby/RubyKernel.java:1037
   require at 
/Users/weppos/.rvm/rubies/jruby-1.6.0.RC3/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29
    (root) at ./test/whois/answer/parser/whois.nic.so_test.rb:2
      load at org/jruby/RubyKernel.java:1062
  __file__ at 
/Users/weppos/.rvm/gems/jruby-1.6.0.RC3/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5
      each at org/jruby/RubyArray.java:1572
    (root) at 
/Users/weppos/.rvm/gems/jruby-1.6.0.RC3/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5
rake aborted!
{code}

You can reproduce it by trying to execute the test suite of the Whois Gem.
https://github.com/weppos/whois/tree/222f9244884ed745842a4050909708b9b663376c

The {{whois.nic.so_test.rb}} file attempts to include a {{whois.nic.so.rb}} 
file using the following syntax

{code}
require 'whois/answer/parser/whois.nic.so'
{code}

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