Bug #20791
closedRbCONFIG::CONFIG does not have a LIBRUBY_RELATIVE key on mswin
Description
I noticed that mswin Ruby does not provide RbCONFIG::CONFIG["LIBRUBY_RELATIVE"]
. My understanding is that all Windows should have this set to "yes", as per https://github.com/ruby/ruby/blob/67d6e89b0b6d7dd7d6454ace7734157ee51f3f79/configure.ac#L3690-L3692.
Since rbinstall
script uses this config to decide whether binstubs need a bash prolog or not as per https://github.com/ruby/ruby/blob/67d6e89b0b6d7dd7d6454ace7734157ee51f3f79/tool/rbinstall.rb#L418-L426, I think mswin is getting incorrect binstubs generated by default.
I tried to look briefly into why this happens, but I could not figure it out.
Updated by nobu (Nobuyoshi Nakada) 3 months ago
- Status changed from Open to Closed
Applied in changeset git|3aa044f10c1db1608974ba4bc282c7dd1c9db3f5.
[Bug #20791] Set LIBRUBY_RELATIVE on mswin
Updated by deivid (David Rodríguez) 3 months ago
Thank you @nobu (Nobuyoshi Nakada)!