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

* ext/purelib.rb, common.mk: to simulate ruby command more precisely,

remove "." from $: of virtual environment for build and test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
mame 2010-02-05 16:21:56 +00:00
parent a68c79f716
commit 63cbe555b7
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Sat Feb 6 01:14:54 2010 Yusuke Endoh <mame@tsg.ne.jp>
* ext/purelib.rb, common.mk: to simulate ruby command more precisely,
remove "." from $: of virtual environment for build and test.
Sat Feb 6 00:02:31 2010 Tanaka Akira <akr@fsij.org> Sat Feb 6 00:02:31 2010 Tanaka Akira <akr@fsij.org>
* random.c (fill_random_seed): don't use O_NOFOLLOW because * random.c (fill_random_seed): don't use O_NOFOLLOW because

View file

@ -123,7 +123,7 @@ TESTRUN_SCRIPT = $(srcdir)/test.rb
BOOTSTRAPRUBY = $(BASERUBY) BOOTSTRAPRUBY = $(BASERUBY)
COMPILE_PRELUDE = $(MINIRUBY) -I$(srcdir) -I. -rrbconfig $(srcdir)/tool/compile_prelude.rb COMPILE_PRELUDE = $(MINIRUBY) -I$(srcdir) -I. -r./rbconfig $(srcdir)/tool/compile_prelude.rb
all: main docs all: main docs

View file

@ -6,7 +6,7 @@ $:.each_with_index {|path, index|
end end
} }
if nul if nul
removed, $:[nul..-1] = $:[nul..-1], ["."] removed, $:[nul..-1] = $:[nul..-1], []
if defined?(Gem::QuickLoader) if defined?(Gem::QuickLoader)
removed.each do |path| removed.each do |path|
# replaces a fake rubygems by gem_prelude.rb with an alternative path # replaces a fake rubygems by gem_prelude.rb with an alternative path