JRuby fails platform sniffing with RubyGems 1.0.1 update install and running 
Rails on Windows
---------------------------------------------------------------------------------------------

                 Key: JRUBY-1763
                 URL: http://jira.codehaus.org/browse/JRUBY-1763
             Project: JRuby
          Issue Type: Bug
          Components: Interpreter
    Affects Versions: JRuby 1.1b1
         Environment: Windows Vista 32-bit
            Reporter: Chris Williams
            Priority: Blocker


I just tried installing the rubygems update for 1.0.1 and it's failing, because 
it's trying to set the RUBYOPT environment variable as it would on a *nix box 
rather than windows.

Additionally running rails under JRuby I have to hack a special RUBY_PLATFORM 
value so it recognizes it as windows.

I basically set it to "jruby mswin", and that seems good enough for Rails (and 
likely would fix the rubygems install problem).

JRuby should provide a platform string that can designate it as java/jruby, but 
also an underlying OS related value so these checks that many ruby libraries do 
won't fail or assume *nix.

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