summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorara.t.howard <ara.t.howard@gmail.com>2011-11-06 19:50:31 -0800
committerara.t.howard <ara.t.howard@gmail.com>2011-11-06 19:50:31 -0800
commit6e0b90b18a1733ce5fc35215c4b34a843c9e741a (patch)
tree9551b10b4c74867fd571970a344ddec414f1f75d
parenteb2058b8f98f3fe00e6feef8dce73214cb557cf9 (diff)
parent0e4ff17bb71c4eebbb05c2db01f6c638acbe9a96 (diff)
downloadsystemu-6e0b90b18a1733ce5fc35215c4b34a843c9e741a.tar.gz
Merge pull request #11 from parndt/master
you and your silly consistency. ;-)
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
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'] || ''