This project is archived and is in readonly mode.
[Rails 2-3 Stable] - Update RUBY_PLATFORM to Config::CONFIG['host_os']
Reported by Anil Wadghule | April 26th, 2010 @ 02:08 PM | in 2.3.6
With reference to #4477, I have updated RUBY_PLATFORM to Config::CONFIG['host_os'] for Rails 2-3-stable branch. Atached is a patch for the fix.
Comments and changes to this ticket
-
Anil Wadghule April 26th, 2010 @ 02:28 PM
- Tag set to 2-3-stable, patch, ruby_platform, windows
- Assigned user set to Jeremy Kemper
Here is patch. update_ruby_platform_with_host_os.diff. Not able to upload patch with LH currently.
Do inform me if there are changes needed in patch. I will update those.
-
Jeremy Kemper April 26th, 2010 @ 06:08 PM
- Milestone set to 2.3.6
- State changed from new to open
Thanks Anil!
Is
Config::CONFIG['host_os']
always available on Windows on Ruby 1.8.6, 1.8.7, 1.9, etc?Looks like
railties/lib/rails/gem_dependency.rb
still usesRUBY_PLATFORM
in the patch. -
Jeremy Kemper April 26th, 2010 @ 07:14 PM
- State changed from open to duplicate
Also, don't need a separate ticket for 2-3-stable patch :)
Duplicates #4477
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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>