summaryrefslogtreecommitdiff
path: root/tool/runruby.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-26 14:42:11 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-26 14:42:11 +0000
commit727f5251088745a9acad9ea3f7272f01d9767a80 (patch)
treef38d0e1e65ee623f588e47b9d484f4f7d292a11b /tool/runruby.rb
parent68c062b1f06f384df91a198e69495f185b12e334 (diff)
downloadruby-727f5251088745a9acad9ea3f7272f01d9767a80.tar.gz
runruby.rb: use File::PATH_SEPARATOR
* tool/runruby.rb: use File::PATH_SEPARATOR as DYLD_INSERT_LIBRARIES is colon-separated list. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/runruby.rb')
-rwxr-xr-xtool/runruby.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/runruby.rb b/tool/runruby.rb
index 7def5063b2..34b51da86e 100755
--- a/tool/runruby.rb
+++ b/tool/runruby.rb
@@ -84,7 +84,7 @@ if File.file?(libruby_so)
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