ruby-changes:37681
From: nobu <ko1@a...>
Date: Thu, 26 Feb 2015 23:42:26 +0900 (JST)
Subject: [ruby-changes:37681] nobu:r49762 (trunk): runruby.rb: use File::PATH_SEPARATOR
nobu 2015-02-26 23:42:11 +0900 (Thu, 26 Feb 2015) New Revision: 49762 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49762 Log: runruby.rb: use File::PATH_SEPARATOR * tool/runruby.rb: use File::PATH_SEPARATOR as DYLD_INSERT_LIBRARIES is colon-separated list. Modified files: trunk/tool/runruby.rb Index: tool/runruby.rb =================================================================== --- tool/runruby.rb (revision 49761) +++ tool/runruby.rb (revision 49762) @@ -84,7 +84,7 @@ if File.file?(libruby_so) https://github.com/ruby/ruby/blob/trunk/tool/runruby.rb#L84 e ||= "LD_PRELOAD" if /linux/ =~ RUBY_PLATFORM end if e - env[e] = [libruby_so, ENV[e]].compact.join(' ') + env[e] = [libruby_so, ENV[e]].compact.join(File::PATH_SEPARATOR) end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/