summaryrefslogtreecommitdiffstats
path: root/ruby/ffi-k8055/tasks
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-11-14 15:32:10 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2011-11-14 15:32:10 +0100
commit5ee4848048a64469c85818933d6dce8e114a4b13 (patch)
tree4fc4b5eadbcfa18b407d83af3e033408874c4e68 /ruby/ffi-k8055/tasks
parente6f3d3b8a00cd193330eefa8dbf3467804b5be25 (diff)
downloadk8055-5ee4848048a64469c85818933d6dce8e114a4b13.zip
k8055-5ee4848048a64469c85818933d6dce8e114a4b13.tar.gz
fix typo RBConfig => RbConfig
Diffstat (limited to 'ruby/ffi-k8055/tasks')
-rw-r--r--ruby/ffi-k8055/tasks/constants.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/ruby/ffi-k8055/tasks/constants.rb b/ruby/ffi-k8055/tasks/constants.rb
index 045ed42..8a7fdfa 100644
--- a/ruby/ffi-k8055/tasks/constants.rb
+++ b/ruby/ffi-k8055/tasks/constants.rb
@@ -27,19 +27,19 @@ if USE_RAKE_COMPILER
ENV['RUBY_CC_VERSION'] = '1.8.7:1.9.2'
end
-LIBEXT = case RBConfig::CONFIG['host_os'].downcase
+LIBEXT = case RbConfig::CONFIG['host_os'].downcase
when /darwin/
"dylib"
when /mswin|mingw/
"dll"
else
- RBConfig::CONFIG['DLEXT']
+ RbConfig::CONFIG['DLEXT']
end
-CPU = case RBConfig::CONFIG['host_cpu'].downcase
+CPU = case RbConfig::CONFIG['host_cpu'].downcase
when /i[3456]86/
# Darwin always reports i686, even when running in 64bit mode
- if RBConfig::CONFIG['host_os'] =~ /darwin/ && 0xfee1deadbeef.is_a?(Fixnum)
+ if RbConfig::CONFIG['host_os'] =~ /darwin/ && 0xfee1deadbeef.is_a?(Fixnum)
"x86_64"
else
"i386"
@@ -51,10 +51,10 @@ CPU = case RBConfig::CONFIG['host_cpu'].downcase
when /ppc|powerpc/
"powerpc"
else
- RBConfig::CONFIG['host_cpu']
+ RbConfig::CONFIG['host_cpu']
end
-OS = case RBConfig::CONFIG['host_os'].downcase
+OS = case RbConfig::CONFIG['host_os'].downcase
when /linux/
"linux"
when /darwin/
@@ -68,12 +68,12 @@ OS = case RBConfig::CONFIG['host_os'].downcase
when /mswin|mingw/
"win32"
else
- RBConfig::CONFIG['host_os'].downcase
+ RbConfig::CONFIG['host_os'].downcase
end
-CC=ENV['CC'] || RBConfig::CONFIG['CC'] || "gcc"
+CC=ENV['CC'] || RbConfig::CONFIG['CC'] || "gcc"
-GMAKE = RBConfig::CONFIG['host_os'].downcase =~ /bsd|solaris/ ? "gmake" : "make"
+GMAKE = RbConfig::CONFIG['host_os'].downcase =~ /bsd|solaris/ ? "gmake" : "make"
DIFF = if WIN32 then 'diff.exe'