Actions
Bug #9643
closederror on install dir contain space .
Description
invalid switch in RUBYOPT: -F (RuntimeError)
error on install dir contain space .
Actions
Like0
Like0Like0Like0
Added by sevk (kk kk) over 11 years ago. Updated almost 6 years ago.
Description
invalid switch in RUBYOPT: -F (RuntimeError)
error on install dir contain space .
Seems it is caused by Gem::Ext::ExtConfBuilder.build
.
It insert -r#{siteconf_path}
to RUBYOPT
, and the path is cwd, which is under the installed gem directory.
I'd suggest to use just base name in RUBYOPT
and pass cwd by RUBYLIB
instead.
If build
never accept -C
option, just "-r#{siteconf.path}"
is enough.
This should be fixed by 4de117a61517e839f2c45eaf45d56fc243d6d5b2, which updated to Rubygems 2.4.1 and removed the use of RUBYOPT
from Gem::Ext::ExtConfBuilder.build
.