summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_installer.rb
diff options
context:
space:
mode:
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 4dc31efd1b..8ce9ed9ce6 100644
--- a/test/rubygems/test_gem_installer.rb
+++ b/test/rubygems/test_gem_installer.rb
@@ -618,8 +618,10 @@ load 'my_exec'
@installer = Gem::Installer.new @gem, :install_dir => gemhome2,
:source_index => source_index
- use_ui @ui do
- @installer.install
+ build_rake_in do
+ use_ui @ui do
+ @installer.install
+ end
end
assert File.exist?(File.join(gemhome2, 'gems', @spec.full_name))