From: Jim Weirich Date: 2006-06-15T03:12:33+09:00 Subject: Re: RubyGems for inclusion in JRuby Charles O Nutter wrote: > FYI, if platform was needed, we could most easily provide > "java-windows", > "java-x86", or "java-windows-x86" (or some combination) given what the > JVM > tells us (System properties os.arch = x86 and os.name = windows). > Anything > beyond that would require massaging "windows" and "x86" into something > else. RubyGems uses platforms for two things[1]. The obvious use is selecting the platform for possible gems to install[2]. The other use is when installing command file, RubyGems will create .cmd files for all the programs in the gem. I would imagine that we still need to do this for the JRuby version, right? It seems to me we need to differentiate between JRuby on windows vs JRuby on Unix. Perhaps the platform string is not the appropriate mechanizm for this. I'm will to hear alternatives. -- Jim Weirich [1] That I can think of off the top of my head. [2] Yes, the platform selection logic is currently rather weak. We hope to fix this in the near future. -- Posted via http://www.ruby-forum.com/.