This project is archived and is in readonly mode.
Use rbconfig's Config::CONFIG['host_os'] instead of RUBY_PLATFORM
-
Anil Wadghule
- Assigned user set to Jeremy Kemper
Patch file is here use_rbconfig_host_os.diff as getting some problems while uploading patch via LH.
-
Anil Wadghule
Here is updated patch.
-
Repository
- State changed from new to resolved
(from [53c13f1acaa2eb05e7f418b53f6156a4f5a773e0]) Use Config::CONFIG['host_os'] instead of RUBY_PLATFORM [#4477 Use rbconfig's Config::CONFIG['host_os'] instead of RUBY_PLATFORM state:resolved]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
http://github.com/rails/rails/commit/53c13f1acaa2eb05e7f418b53f6156... -
Loren Segal
This patch isn't 100% correct (though it's due to the initial implementation also being wrong).
Config::CONFIG['host_os']can also return"cygwin"under a cygwin build of Ruby. The regex does not take this into account.
