This project is archived and is in readonly mode.
[Rails 2-3 Stable] - Update RUBY_PLATFORM to Config::CONFIG['host_os']
-
Anil Wadghule
- 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.
-
Anil Wadghule
Here is updated patch.
-
Jeremy Kemper
- 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.rbstill usesRUBY_PLATFORMin the patch. -
Jeremy Kemper
- State changed from open to duplicate
Also, don't need a separate ticket for 2-3-stable patch :)
Duplicates #4477 Use rbconfig's Config::CONFIG['host_os'] instead of RUBY_PLATFORM
