Граф коммитов

14 Коммитов

Автор SHA1 Сообщение Дата
nobu 85e83e9f93 runruby.rb: fallback to ruby
* tool/runruby.rb: use ruby-runner only when exists and fallback
  to ruby itself.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-04 01:25:42 +00:00
nobu a4fd2a791e ruby-runner
* template/ruby-runner.c.in: wrapper to set dynamic loading path
  environment variable.  /bin/sh on Mac OS X 10.11 (El Capitan)
  clears DYLD_LIBRARY_PATH.
  it must:
  - do nothing even if current directory is not present
  - do not set other environment variables, e.g. PWD, SHLVL, etc
  - do not open other FDs, e.g. pipes for timer thread

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-03 15:09:47 +00:00
nobu e9482963fd runruby.rb: don't close other fds
* tool/runruby.rb: rubyspec now requires other FDs not to be
  closed since 7b6ce1fee.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-06-21 10:52:41 +00:00
usa 9b04c1dd42 * tool/runruby.rb: just remove the lines of RUBY_VERSION check and raise
instead of replacing the check to `true`, for getting rid of a
  warning `possibly useless use of true in void context`.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-06-14 01:46:22 +00:00
nobu 727f525108 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
2015-02-26 14:42:11 +00:00
nobu 68c062b1f0 configure.in: PRELOADENV
* configure.in (PRELOADENV): platform specific environment to
  pre-load the given shared libraries.

* tool/runruby.rb: use config['PRELOADENV'] instead of hardcoded
  LD_PRELOAD.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-26 08:01:54 +00:00
nobu 8b89b2c6b9 runruby.rb: update pattern
* tool/runruby.rb: no space may be after RUBY_VERSION.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-25 15:04:45 +00:00
nobu 7722b3b67f runruby.rb: follow r49740
* tool/runruby.rb: follow the change of RUBY_VERSION check in
  rbconfig by r49740.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-25 09:17:28 +00:00
nobu 3f6e8aef37 [Bug #6598]
* tool/runruby.rb (File.realpath): return real path of expanded path.
  [Bug #6598]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-15 22:12:58 +00:00
nobu 2696fb9503 test: realpath
* test/runner.rb (src_testdir): expand real path so that
  TestGem#test_self_find_files does not fail by aliased load path when
  srcdir contains a symbolic link.
* tool/runruby.rb (srcdir): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-08 07:19:38 +00:00
shyouhei 46a93a65df * tool/runruby.rb: no purelib.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-03 03:05:39 +00:00
yugui a654e0b57b * instruby.rb: moved into tool/.
* mkconfig.rb: ditto.

* rubytest.rb: ditto.

* runruby.rb: ditto.

* common.mk: follows the moves.

* configure.in: ditto.

* win32/Makefile.sub: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-22 11:48:42 +00:00
ko1 835c8d9d48 * tool/compile.rb, getrev.rb, runruby.rb: remove unused tools.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 07:06:03 +00:00
ko1 a3e1b1ce7e * Merge YARV
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-31 15:02:22 +00:00