aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_installer.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-19 18:15:26 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-19 18:15:26 +0000
commit08837d081d764af01a30d325007c3c9527e383a6 (patch)
tree227a49d530df51dd8f00972a4637bd568a3ca717 /test/rubygems/test_gem_installer.rb
parent4394ffe521ca03b22761ce4d4afed6645a62ea3d (diff)
downloadruby-08837d081d764af01a30d325007c3c9527e383a6.tar.gz
Update to RubyGems 1.1.1 r1784 (pre 1.2)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_installer.rb')
-rw-r--r--test/rubygems/test_gem_installer.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_installer.rb b/test/rubygems/test_gem_installer.rb
index edd8b472cd..f57d1c820c 100644
--- a/test/rubygems/test_gem_installer.rb
+++ b/test/rubygems/test_gem_installer.rb
@@ -327,8 +327,10 @@ load 'my_exec'
real_exec = File.join util_gem_dir, 'bin', 'my_exec'
# fake --no-wrappers for previous install
- FileUtils.mkdir_p File.dirname(installed_exec)
- FileUtils.ln_s real_exec, installed_exec
+ unless Gem.win_platform? then
+ FileUtils.mkdir_p File.dirname(installed_exec)
+ FileUtils.ln_s real_exec, installed_exec
+ end
@installer.generate_bin
assert_equal true, File.directory?(util_inst_bindir)