mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-12 01:45:33 +02:00
Add pwd to loadpath if rubyLoadpath not set
This commit is contained in:
parent
f3d167e5f5
commit
d024df1aed
1 changed files with 5 additions and 0 deletions
|
@ -767,6 +767,11 @@ static void mriBindingExecute() {
|
|||
rb_ary_push(lpaths, pathv);
|
||||
}
|
||||
}
|
||||
#ifndef WORKDIR_CURRENT
|
||||
else {
|
||||
rb_ary_push(lpaths, rb_str_new_cstr(getenv("PWD")));
|
||||
}
|
||||
#endif
|
||||
#ifdef MARIN
|
||||
else {
|
||||
rb_ary_push(lpaths, rb_str_new_cstr("ruby/extensions/2.5.0"));
|
||||
|
|
Loading…
Add table
Reference in a new issue