Skip to content

Instantly share code, notes, and snippets.

@luislavena
Created October 21, 2008 23:49
Show Gist options
  • Save luislavena/18481 to your computer and use it in GitHub Desktop.
Save luislavena/18481 to your computer and use it in GitHub Desktop.
# Couldn't this
ENV["RC_ARCHS"] = `uname -m`.chomp if `uname -sr` =~ /^Darwin/
# better be expressed like this?
ENV["RC_ARCHS"] = `uname -m`.chomp if RUBY_PLATFORM =~ /darwin/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment