From 0e4ff17bb71c4eebbb05c2db01f6c638acbe9a96 Mon Sep 17 00:00:00 2001 From: Philip Arndt Date: Mon, 7 Nov 2011 10:55:07 +1300 Subject: Apply same logic to Rakefile for RbConfig as found in lib/systemu.rb --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index ae00991..fdf4f20 100644 --- a/Rakefile +++ b/Rakefile @@ -277,7 +277,7 @@ BEGIN { # discover full path to this ruby executable # - c = Config::CONFIG + c = begin; ::RbConfig::CONFIG; rescue NameError; ::Config::CONFIG; end bindir = c["bindir"] || c['BINDIR'] ruby_install_name = c['ruby_install_name'] || c['RUBY_INSTALL_NAME'] || 'ruby' ruby_ext = c['EXEEXT'] || '' -- cgit v1.2.1