зеркало из https://github.com/github/ruby.git
rbinstall.rb: gem bindir
* tool/rbinstall.rb (gem): use the bindir of each gemspec instead of hardcoded 'bin', since rdoc 5.0.0 overrides it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
5fac45dc30
Коммит
19f624541f
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Sep 8 17:40:15 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* tool/rbinstall.rb (gem): use the bindir of each gemspec instead
|
||||||
|
of hardcoded 'bin', since rdoc 5.0.0 overrides it.
|
||||||
|
|
||||||
Thu Sep 8 16:47:03 2016 Shugo Maeda <shugo@ruby-lang.org>
|
Thu Sep 8 16:47:03 2016 Shugo Maeda <shugo@ruby-lang.org>
|
||||||
|
|
||||||
* eval.c (rb_mod_s_used_modules): rename Module.used_refinements to
|
* eval.c (rb_mod_s_used_modules): rename Module.used_refinements to
|
||||||
|
|
|
@ -727,7 +727,7 @@ install?(:ext, :comm, :gem) do
|
||||||
end
|
end
|
||||||
|
|
||||||
unless gemspec.executables.empty? then
|
unless gemspec.executables.empty? then
|
||||||
bin_dir = File.join(gem_dir, 'gems', full_name, 'bin')
|
bin_dir = File.join(gem_dir, 'gems', full_name, gemspec.bindir)
|
||||||
makedirs(bin_dir)
|
makedirs(bin_dir)
|
||||||
|
|
||||||
execs = gemspec.executables.map {|exec| File.join(srcdir, 'bin', exec)}
|
execs = gemspec.executables.map {|exec| File.join(srcdir, 'bin', exec)}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче