summaryrefslogtreecommitdiff
path: root/scripts/context/ruby/base/system.rb
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/context/ruby/base/system.rb')
-rw-r--r--scripts/context/ruby/base/system.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/context/ruby/base/system.rb b/scripts/context/ruby/base/system.rb
index c3fb08645..71c0af421 100644
--- a/scripts/context/ruby/base/system.rb
+++ b/scripts/context/ruby/base/system.rb
@@ -12,7 +12,7 @@ require "rbconfig"
module System
- @@mswindows = Config::CONFIG['host_os'] =~ /mswin/
+ @@mswindows = RbConfig::CONFIG['host_os'] =~ /mswin/
@@binpaths = ENV['PATH'].split(File::PATH_SEPARATOR)
@@binsuffixes = if $mswindows then ['.exe','.com','.bat'] else ['','.sh','.csh'] end
@@located = Hash.new