-
Notifications
You must be signed in to change notification settings - Fork 289
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
use gem.cmd instead of gem.bat #616
Conversation
@andyroyle what failure were you seeing? |
👍 that .bat fails, .cmd works. |
@jpuskar can you rebase from current master? |
@andyroyle, see @cdenneen's rebase request. |
I've rebased, but not had a chance to test the latest head of master to see if the issue has been resolved |
I tested this change and it seems to fix the issue of where plugins get installed. |
Aside from incompatibility with Sensu versions < 0.27., this change seems okay to me In my manual testing (without Puppet involved) of latest Sensu 0.29 package, both |
puppet-agent AIO ships with similar vendored ruby just like sensu |
@cwjohnston So there is a puppet bug open on this: |
We could use an if, and use the .bat if the .cmd does not exist. That would
cover older sensu versions.
…On Wed, Apr 12, 2017 at 12:13 PM Chris Denneen ***@***.***> wrote:
@cwjohnston <https://github.com/cwjohnston> So there is a puppet bug open
on this:
https://tickets.puppetlabs.com/browse/PUP-6134
If we use the cmd if fixes issues for > 0.27 so maybe that is acceptable
at this point since 0.29 is released?
cc @hprins <https://github.com/hprins>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#616 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACLokf17Aftzn2UAdPUCG9jEqa_sjbEEks5rvPgZgaJpZM4MP-Vl>
.
|
@jpuskar yeah they would just install in the wrong directory too :) |
#636 hopefully should fix the issue and allow for < 0.27 versions |
yet more fun and games from the 0.27 update for windows
I've yet to find exactly out why using
gem.bat
fails but usinggem.cmd
, but it's something to do with the gems environment.It's worth noting that
gem.cmd
seems to have been added in 0.27, but it's not clear if it's supposed to replacegem.bat
or not