Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix JRuby Build on Windows #500

Merged
merged 1 commit into from
Dec 22, 2020
Merged

Fix JRuby Build on Windows #500

merged 1 commit into from
Dec 22, 2020

Conversation

jcouball
Copy link
Member

Your checklist for this pull request

🚨Please review the guidelines for contributing to this repository.

  • Ensure all commits include DCO sign-off.
  • Ensure that your contributions pass unit testing.
  • Ensure that your contributions contain documentation if applicable.

Description

The JRuby build on Windows fails because #chomp! is called on an IO object. When a block is passed to #command, output is an IO object instead of a String (this is done in #run_command). Create a special case to not call #chomp when a block is passed to #command.

Signed-off-by: James Couball <jcouball@yahoo.com>
@jcouball jcouball merged commit 8b3bd25 into ruby-git:master Dec 22, 2020
@jcouball jcouball deleted the fix_jruby_build branch December 22, 2020 18:27
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.

1 participant