On 11/5/07, Trans <[EMAIL PROTECTED]> wrote: > On Nov 4, 2007 10:41 PM, Assaph Mehr <[EMAIL PROTECTED]> wrote: > > Hi Mikel, > > > > > > > I am wondering if anyone has a good link / resource / howto, whatever > > > on how you make a windows gem or a different version so that you get > > > this sort of output on gem install: > > > > > > Select which gem to install for your platform (i386-openbsd4.1) > > > 1. hpricot 0.6 (mswin32) > > > 2. hpricot 0.6 (jruby) > > > 3. hpricot 0.6 (ruby) > > > 4. ... > > > > Look at: http://rubygems.org/read/chapter/20#platform > > Use the #platform directive of the gem specification to note the > > target platform. The default is Ruby. > > So essentially the best course of action is to pre-compile and create > multiple gems for each platform? >
Yes, the upcoming 0.9.5 will provide auto-platform matching, so if the pre-built gem for the matching platform is available, will use it instead of the RUBY (source version) one. -- Luis Lavena Multimedia systems - Leaders are made, they are not born. They are made by hard effort, which is the price which all of us must pay to achieve any goal that is worthwhile. Vince Lombardi _______________________________________________ Rubygems-developers mailing list [email protected] http://rubyforge.org/mailman/listinfo/rubygems-developers
