1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

extmk.rb: fix gem target directory name

* ext/extmk.rb: make the gems target directory under the expanded
  name.  [ruby-core:77102] [Bug #12714]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-08-30 15:52:24 +00:00
parent 12da0d0dfa
commit a846ecf59f
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Wed Aug 31 00:52:23 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/extmk.rb: make the gems target directory under the expanded
name. [ruby-core:77102] [Bug #12714]
Tue Aug 30 15:27:27 2016 Kouhei Yanagita <yanagi@shakenbu.org>
* ext/json/lib/json/add/ostruct.rb (OpenStruct.json_create):

View file

@ -535,7 +535,7 @@ end
if $extout
extout = RbConfig.expand("#{$extout}", RbConfig::CONFIG.merge("topdir"=>$topdir))
unless $ignore
FileUtils.mkpath(extout)
FileUtils.mkpath("#{extout}/gems")
end
end
@ -565,7 +565,6 @@ end
Dir.chdir('..')
FileUtils::makedirs('gems')
FileUtils::makedirs("#$extout/gems")
Dir.chdir('gems')
extout = $extout
gems.each do |d|