[ruby-core:119491] [Ruby master Bug#20791] RbCONFIG::CONFIG does not have a LIBRUBY_RELATIVE key on mswin

Issue #20791 has been reported by deivid (David Rodríguez). ---------------------------------------- Bug #20791: RbCONFIG::CONFIG does not have a LIBRUBY_RELATIVE key on mswin https://bugs.ruby-lang.org/issues/20791 * Author: deivid (David Rodríguez) * Status: Open * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- 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/c.... 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/t..., 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. -- https://bugs.ruby-lang.org/

Issue #20791 has been updated by deivid (David Rodríguez). Thank you @nobu! ---------------------------------------- Bug #20791: RbCONFIG::CONFIG does not have a LIBRUBY_RELATIVE key on mswin https://bugs.ruby-lang.org/issues/20791#change-110106 * Author: deivid (David Rodríguez) * Status: Closed * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- 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/c.... 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/t..., 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. -- https://bugs.ruby-lang.org/
participants (1)
-
deivid