openlitespeed
openlitespeed copied to clipboard
RUBYOPT=rubygems needs to be RUBYOPT=-rrubygems
ubygems.rb alias was removed in Rubygems 3.2.3 (2020).
https://github.com/litespeedtech/openlitespeed/blob/d9610258f5c76ca204e1fd7074c23297b96a64de/src/http/httpvhost.cpp#L1681
Change RUBYOPT=rubygems to RUBYOPT=-rrubygems
See rubygems/rubygems#2393
To be clear I haven't tested this fix and am not an expert, the line may be entirely deprecated or unnecessary. but RUBYOPT=rubygems is definitely an error
Thanks for the bug report. We have found that it causes trouble, so we just removed that environment variable in the latest code. it is not necessary.
It will be in 1.8.2 .