method
setup
v1_9_3_125 -
Show latest stable
-
0 notes -
Class: InstallerTestCase
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125 (0)
- 1_9_3_392 (0)
- 2_1_10 (38)
- 2_2_9 (0)
- 2_4_6 (0)
- 2_5_5 (24)
- 2_6_3 (0)
- What's this?
setup()
public
Hide source
# File lib/rubygems/installer_test_case.rb, line 57 def setup super @installer_tmp = File.join @tempdir, 'installer' FileUtils.mkdir_p @installer_tmp Gem.use_paths @installer_tmp Gem.ensure_gem_subdirectories @installer_tmp @spec = quick_gem 'a' util_make_exec @spec util_build_gem @spec @gem = @spec.cache_file @user_spec = quick_gem 'b' util_make_exec @user_spec util_build_gem @user_spec @user_gem = @user_spec.cache_file Gem.use_paths @gemhome @installer = util_installer @spec, @gemhome @user_installer = util_installer @user_spec, Gem.user_dir, :user Gem.use_paths @gemhome end