diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-21 22:05:09 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-21 22:05:09 +0000 |
commit | ac4da20aa3e991a68ad4f49f6816c7652c3422fd (patch) | |
tree | 868a9948b0f3f91888be949475c30a69e558ef8b /test/rubygems | |
parent | 6b88b523f4f7e35ca685a838b751c1a70608948f (diff) | |
download | ruby-ac4da20aa3e991a68ad4f49f6816c7652c3422fd.tar.gz |
* lib/rubygems/installer.rb (build_extensions): Create extension
install destination before building extension. Patch by Kenta Murata.
[ruby-trunk - Bug #7897]
* test/rubygems/test_gem_installer.rb: Test for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems')
-rw-r--r-- | test/rubygems/test_gem_installer.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_installer.rb b/test/rubygems/test_gem_installer.rb index fc8d1a7782..bb48f35d9f 100644 --- a/test/rubygems/test_gem_installer.rb +++ b/test/rubygems/test_gem_installer.rb @@ -137,6 +137,7 @@ load Gem.bin_path('a', 'executable', version) path = File.join @spec.gem_dir, "extconf_args" assert_equal args.inspect, File.read(path).strip + assert File.directory? File.join(@spec.gem_dir, 'lib') end def test_check_executable_overwrite |