-
Notifications
You must be signed in to change notification settings - Fork 24
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
Rake task 'gettext:pot' silently fails on Windows #12
Comments
Note - Running the same command outside of Ruby's
generates a correct |
@glennsarti Some changes have been made to how the gem interprets return codes for executables. Could you verify that this issue is still existent? EDIT: And also please check the value for |
Just a thought, but using options in this style might work (containing both Windows and Linux path extensions)?
|
Problem:
I was attempting to run the gettext-setup gem on Windows against Puppet. This works succesfully on Mac, Linux and Windows Subsystem for Linux, however on native windows it gives the following message;
However the file is not created and the message comes back VERY quickly. Running procmon, it is obvious that no files are being parsesd.
After digging around I found the problem is related to the following code;
https://github.com/puppetlabs/gettext-setup-gem/blob/master/lib/tasks/gettext.rake#L36-L41
Firstly I thought the command line was too long (it's MASSIVE for Puppet), However I made the following change;
From
To
Just to get the first two files and I received the following error (local git repo is at C:\Source\brannan-puppet);
It appears that this gem does not work on Windows.
The text was updated successfully, but these errors were encountered: