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

Puma::Launcher: avoid a leading space character in RUBYOPT #1455

Merged
merged 1 commit into from Nov 16, 2017
Merged

Puma::Launcher: avoid a leading space character in RUBYOPT #1455

merged 1 commit into from Nov 16, 2017

Conversation

perlun
Copy link
Contributor

@perlun perlun commented Nov 13, 2017

The problem is this:

2.4.2 :001 > [nil, 'foo'].join(' ')
 => " foo"

Note the leading space character. By lstrip:ing the result of the join, we avoid this altogether.

(This is a fix for the underlying problem that triggered jruby/jruby#4849.)

The problem is this:

```
2.4.2 :001 > [nil, 'foo'].join(' ')
 => " foo"
```

Note the leading space character. By `lstrip`:ing the result of the join, we avoid this altogether.

(This is a fix for the underlying problem that triggered jruby/jruby#4849.)
@nateberkopec nateberkopec merged commit ac7106e into puma:master Nov 16, 2017
@perlun perlun deleted the patch-1 branch November 23, 2017 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants