Project

General

Profile

Actions

Bug #20791

closed

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

Added by deivid (David Rodríguez) 1 day ago. Updated 1 day 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 #1

Updated by nobu (Nobuyoshi Nakada) 1 day ago

  • Status changed from Open to Closed

Applied in changeset git|3aa044f10c1db1608974ba4bc282c7dd1c9db3f5.


[Bug #20791] Set LIBRUBY_RELATIVE on mswin

Actions

Also available in: Atom PDF

Like0
Like0Like0