summaryrefslogtreecommitdiff
path: root/runruby.rb
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-26 20:35:44 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-26 20:35:44 +0000
commit1beec4c47675c9f7cf57eb0d1993f406ffeb839d (patch)
tree105c315b02be8e7fbc0be80dfb1d0710650d1bc1 /runruby.rb
parentd0af0f2f2a1f83a7ae25eed3754c7d1db42ff9b9 (diff)
* runruby.rb: eliminate uninitialized variable.
[ruby-core:11255] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'runruby.rb')
-rwxr-xr-xrunruby.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/runruby.rb b/runruby.rb
index 767ded6b44..cbc5e57582 100755
--- a/runruby.rb
+++ b/runruby.rb
@@ -41,11 +41,7 @@ config["bindir"] = abs_archdir
ENV["RUBY"] = File.expand_path(ruby)
ENV["PATH"] = [abs_archdir, ENV["PATH"]].compact.join(File::PATH_SEPARATOR)
-if pure
libs << File.expand_path("ext", srcdir) << "-"
-elsif e = ENV["RUBYLIB"]
- libs |= e.split(File::PATH_SEPARATOR)
-end
ENV["RUBYLIB"] = $:.replace(libs).join(File::PATH_SEPARATOR)
libruby_so = File.join(abs_archdir, config['LIBRUBY_SO'])
@@ -59,7 +55,6 @@ if File.file?(libruby_so)
end
cmd = [ruby]
-cmd << "-rpurelib.rb" if pure
+cmd << "-rpurelib.rb"
cmd.concat(ARGV)
-cmd.unshift(*debugger) if debugger
exec(*cmd)