Skip to content

installer.rb - fix #windows_stub_script - #2876

Merged
1 commit merged into
ruby:masterfrom
MSP-Greg:windows-jruby-bin-stubs
Aug 16, 2019
Merged

1 commit merged into
ruby:masterfrom
MSP-Greg:windows-jruby-bin-stubs

Conversation

@MSP-Greg

Copy link
Copy Markdown
Contributor

Use ruby_exe in heredocs (scripts) instead of ruby.exe. Currently, binstubs only work for standard MRI exe ('ruby.exe').

See Issue #2873

Tasks:

  • Describe the problem / feature
  • Write tests
  • Write code to solve the problem
  • Get code review from coworkers / friends

I will abide by the code of conduct.

use ruby_exe in heredocs instead of ruby.exe

@deivid-rodriguez deivid-rodriguez left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The OP has confirmed this fixes the issue, and this sounds like hard to test (Windows + jruby specific bug). So I'm good with this! 👍

@hsbt hsbt added this to the 3.0.5 milestone Aug 16, 2019
@hsbt

hsbt commented Aug 16, 2019

Copy link
Copy Markdown
Member

@bundlerbot r+

ghost pushed a commit that referenced this pull request Aug 16, 2019
2876: installer.rb - fix #windows_stub_script r=hsbt a=MSP-Greg

Use ruby_exe in heredocs (scripts) instead of ruby.exe.  Currently, binstubs only work for standard MRI exe ('ruby.exe').

See Issue #2873

# Tasks:

- [X] Describe the problem / feature
- [ ] Write tests
- [X] Write code to solve the problem
- [ ] Get code review from coworkers / friends

I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).

Co-authored-by: MSP-Greg <msp-greg@users.noreply.github.com>
@ghost

ghost commented Aug 16, 2019

Copy link
Copy Markdown

Build succeeded

@ghost
ghost merged commit 9f1b7d6 into ruby:master Aug 16, 2019
@hsbt hsbt modified the milestones: 3.0.5, 3.0.7 Aug 20, 2019
@MSP-Greg
MSP-Greg deleted the windows-jruby-bin-stubs branch February 16, 2020 14:29
hsbt pushed a commit that referenced this pull request Feb 18, 2020
2876: installer.rb - fix #windows_stub_script r=hsbt a=MSP-Greg

Use ruby_exe in heredocs (scripts) instead of ruby.exe.  Currently, binstubs only work for standard MRI exe ('ruby.exe').

See Issue #2873

# Tasks:

- [X] Describe the problem / feature
- [ ] Write tests
- [X] Write code to solve the problem
- [ ] Get code review from coworkers / friends

I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).

Co-authored-by: MSP-Greg <msp-greg@users.noreply.github.com>
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants