summaryrefslogtreecommitdiff
path: root/ruby-runner.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Prefer `exe/ruby` to execute from it"Nobuyoshi Nakada2020-02-231-9/+4
| | | | | This reverts commit c7b71af9e21b3f0b8fe413a3c20cf4bd633c40d0, as an example in bundler expects untouch PATH.
* Prefer `exe/ruby` to execute from itNobuyoshi Nakada2020-02-221-4/+9
|
* Fix warningsNobuyoshi Nakada2019-08-281-1/+1
| | | | `_FILE_OFFSET_BITS` should be defined before system headers.
* Give the MJIT header path namenobu2018-12-081-1/+1
| | | | | | | | Give the whole MJIT header path name by preloaded shared library mjit_build_dir.so, than building the path from a given directory name and the embedded base name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use BUILDDIR in ruby-runner.h from config.statusnobu2018-12-081-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby-runner.c: enable MJIT_SEARCH_BUILD_DIR only if no relative loadingnobu2018-11-071-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby-runner.c: enable MJIT_SEARCH_BUILD_DIRnobu2018-11-071-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby-runner.c: show the failed pathnobu2018-07-171-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* removed unusecd constantsnobu2018-07-121-4/+0
| | | | | | | | | | * ruby-runner.c (ruby_libm_func): removed as the following test actually doesn't need the path of libm. * test/fiddle/test_pointer.rb (Fiddle::TestPointer#test_free=): removed never used constants and instance variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* exe/ruby: link libm for fiddle testnobu2018-07-121-0/+4
| | | | | | | | | | * common.mk (exe/ruby): $(LIBS) should come after the source file due to the ld spec. * ruby-runner.c (ruby_libm_func): force to link libm for fiddle test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby-runner.c: RUBYLIBnobu2017-09-241-17/+45
| | | | | | | | | * ruby-runner.c (insert_env_path): extracted the function which insert path list to an environment variable. * ruby-runner.c (main): append library paths to RUBYLIB. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby-runner.c: reduce duplicate codenobu2017-09-151-4/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby-runner.c: replace argv[0]nobu2017-05-291-5/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby-runner.hnobu2016-04-141-0/+35
* template/ruby-runner.h.in: separate configured part from ruby-runner.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e