summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-29 00:34:35 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-29 00:34:35 +0000
commitcd86b29da254a4e3b6aa4dde67e3061f6950e510 (patch)
treedf7abd84ff2fd4c9e400e44cc0ce82d7d3923453 /test
parent5f3f080504a4e35eb5c963cc5af326aaf122e834 (diff)
* test/ruby/envutil.rb: fix for --disable-gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/envutil.rb2
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