Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #33 from mbrictson/master

Use RbConfig instead of deprecated Config
  • Loading branch information...
commit 1a7badad8530c856a3e54472d24a91e88c2d8806 2 parents 8f7fc9f + 7fc5a13
@ttilley authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/fssm/support.rb
View
6 lib/fssm/support.rb
@@ -37,15 +37,15 @@ def jruby?
end
def mac?
- Config::CONFIG['target_os'] =~ /darwin/i
+ RbConfig::CONFIG['target_os'] =~ /darwin/i
end
def lion?
- Config::CONFIG['target_os'] =~ /darwin11/i
+ RbConfig::CONFIG['target_os'] =~ /darwin11/i
end
def linux?
- Config::CONFIG['target_os'] =~ /linux/i
+ RbConfig::CONFIG['target_os'] =~ /linux/i
end
def carbon_core?

0 comments on commit 1a7bada

Please sign in to comment.
Something went wrong with that request. Please try again.