Project

General

Profile

Actions

Bug #20791

closed

RbCONFIG::CONFIG does not have a LIBRUBY_RELATIVE key on mswin

Added by deivid (David Rodríguez) 3 months ago. Updated 3 months ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:119491]

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.

Actions

Also available in: Atom PDF

Like0
Like0Like0