зеркало из https://github.com/github/ruby.git
* tool/make-snapshot: add --disable-rubygem to both MINIRUBY and RUBY.
On making miniprelude.c, it seems use MINIRUBY. this fixes #7541 but rubygems also needs to be fixed for older rubies. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
a1a5c879f7
Коммит
9f69bef99b
|
@ -1,3 +1,9 @@
|
||||||
|
Wed Dec 12 01:05:04 2012 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
|
* tool/make-snapshot: add --disable-rubygem to both MINIRUBY and RUBY.
|
||||||
|
On making miniprelude.c, it seems use MINIRUBY. this fixes #7541
|
||||||
|
but rubygems also needs to be fixed for older rubies.
|
||||||
|
|
||||||
Wed Dec 12 00:32:11 2012 Naohisa Goto <ngotogenome@gmail.com>
|
Wed Dec 12 00:32:11 2012 Naohisa Goto <ngotogenome@gmail.com>
|
||||||
|
|
||||||
* test/dl/test_func.rb (test_name_with_block, test_bind, test_qsort1):
|
* test/dl/test_func.rb (test_name_with_block, test_bind, test_qsort1):
|
||||||
|
|
|
@ -69,9 +69,11 @@ path = ENV["PATH"].split(File::PATH_SEPARATOR)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
`#{ENV["BASERUBY"]} --disable-gem -e1 2>&1`
|
%w[BASERUBY RUBY MINIRUBY].each do |var|
|
||||||
if $?.success?
|
`#{ENV[var]} --disable-gem -e1 2>&1`
|
||||||
ENV["BASERUBY"] += ' --disable-gems'
|
if $?.success?
|
||||||
|
ENV[var] += ' --disable-gem'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if $help or $_help
|
if $help or $_help
|
||||||
|
|
Загрузка…
Ссылка в новой задаче