This project is archived and is in readonly mode.

#4477 ✓resolved
Anil Wadghule

Use rbconfig's Config::CONFIG['host_os'] instead of RUBY_PLATFORM

Reported by Anil Wadghule | April 26th, 2010 @ 10:48 AM

With reference to ticket & patch #3999. And as per suggested here proper-way-to-detect-windows-platform-in-ruby/. I have replaced other occurrences of RUBY_PLATFORM with Config::CONFIG['host_os'].

See the pastie for values of both.

I haven't changed the file which #3999 patch fixes, so #3999 can be applied too.

This patch is against 3.0 master branch.

Do inform me, if there are further changes needed in patch. I will update the patch.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>


Referenced by