diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-29 00:34:35 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-29 00:34:35 +0000 |
commit | ab3368de8001d72bb6cf33988d3cd37110a9de66 (patch) | |
tree | 3b703419a25c2177f72a0ef4c13485fc773620a1 /test/ruby/envutil.rb | |
parent | 089d2ddda44b5c7f7e1e6c69103b6f47716786d2 (diff) | |
download | ruby-ab3368de8001d72bb6cf33988d3cd37110a9de66.tar.gz |
* test/ruby/envutil.rb: fix for --disable-gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/envutil.rb')
-rw-r--r-- | test/ruby/envutil.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/envutil.rb b/test/ruby/envutil.rb index 65b2f77915..c5215e4bdd 100644 --- a/test/ruby/envutil.rb +++ b/test/ruby/envutil.rb @@ -216,6 +216,6 @@ else CONFIG['bindir'] = dir CONFIG['ruby_install_name'] = name CONFIG['RUBY_INSTALL_NAME'] = name - Gem::ConfigMap[:bindir] = dir + Gem::ConfigMap[:bindir] = dir if defined?(Gem) end end |