NailGun and 1.9 seem not to be usable at the same time ( --1.9 and --ng)
------------------------------------------------------------------------

                 Key: JRUBY-6251
                 URL: https://jira.codehaus.org/browse/JRUBY-6251
             Project: JRuby
          Issue Type: Bug
          Components: Launcher
    Affects Versions: JRuby 1.6.5
         Environment: SunOS 5.10 Generic_139556-08 i86pc i386 i86pc
            Reporter: Tnarik
            Assignee: Thomas E Enebo


YAML is part of the Ruby 1.9 so,
>> jruby --1.9 -e "require 'yaml'"
succeeds.

If the NailGun server is started,
>> jruby --1.9 --ng-server &

YAML can still be required if not using the NailGun client.
>> jruby --1.9 -e "require 'yaml'"
succeeds

But it cannot be required if using the NailGun client.
$ jruby --1.9 --ng -e "require 'yaml'"
>>LoadError: no such file to load -- yaml
>>  require at org/jruby/RubyKernel.java:1038
>>   (root) at -e:1


Either the client is not setting the correct mode, the server doesn't honor the 
version required by the client or by the NailGun start command, or NailGun 
somehow interferes with the loading of the 1.9 modules.


--
This message is automatically generated by JIRA.
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