Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

[Rails 2-3 Stable] - Update RUBY_PLATFORM to Config::CONFIG['host_os']

#4479

With reference to #4477 Use rbconfig's Config::CONFIG['host_os'] instead of RUBY_PLATFORM, I have updated RUBY_PLATFORM to Config::CONFIG['host_os'] for Rails 2-3-stable branch. Atached is a patch for the fix.

Reported by Anil Wadghule · April 26th, 2010 @ 02:08 PM

State: duplicate
Milestone: 2.3.6
Assigned to: Jeremy Kemper Jeremy Kemper
Importance: none

Activity

  1. Anil Wadghule
    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.

    April 26th, 2010 @ 02:28 PM

  2. Anil Wadghule
  3. Jeremy Kemper
    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.rb still uses RUBY_PLATFORM in the patch.

    April 26th, 2010 @ 06:08 PM

  4. Jeremy Kemper
    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

    April 26th, 2010 @ 07:14 PM