[Rubygems-developers] Still issues with mswin32 as platform
luislavena at gmail.com
Mon Dec 17 21:20:34 EST 2007
On Dec 17, 2007 10:25 PM, Eric Hodel <drbrain at segment7.net> wrote:
> > The higher resolution videos:
> > http://mmediasys.com/rubygems/rubygems_behavior-2.mp4 (12MB)
> > http://mmediasys.com/rubygems/rubygems_behavior-2.mov (112MB)
> > Still need to check what codecs works cross platform, and also it
> > seems QT7 Animation codec don't work so well on windows :-P
> At 04:11, where `gem install pkg\...` doesn't work, but `cd pkg; gem
> install ...` works may be due to Dir glob usage in lib/rubygems/
> Does Dir['pkg\*'] work properly in Windows from irb?
> Does `gem install pkg/...` work?
Maybe a combination of File.expand_path and Dir.glob could do the
trick? Compared to 0.9.4 one change that can break some 'rake
> > Gem::Platform::WIN32 is badly broken. (for peace of mind, why don't
> > we remove it?)
> Agreed. If I recall correctly, the WIN32 constant is only needed by
> gem authors, so having a missing constant will force them to switch to
> I will do the same with the remaining constants, and add a
> const_missing that tells gem authors how to upgrade.
> > Gem::Platform::CURRENT work as expected, leave it alone. (and warn
> > all rubygems developers to stick to it!)
Thank you for your time Eric.
A common mistake that people make when trying to design
something completely foolproof is to underestimate
the ingenuity of complete fools.
More information about the Rubygems-developers