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

Allow dynamic setting for gzip #37

Open
petems opened this issue Dec 3, 2014 · 1 comment
Open

Allow dynamic setting for gzip #37

petems opened this issue Dec 3, 2014 · 1 comment

Comments

@petems
Copy link
Contributor

petems commented Dec 3, 2014

Was testing the haproxy package for OSX, and was having difficulty with the gzip:

/opt/boxen/rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/gems/fpm-cookery-0.25.0/lib/fpm/cookery/utils.rb:12:in `safesystem': 'system(["/bin/gzip", #<FPM::Cookery::Path:/Users/peterso/Projects/capd-fpm-cookery/haproxy/tmp-dest/usr/share/man/man1/haproxy.1>])' failed with error code: 127 (RuntimeError)
    from /Users/peterso/Projects/capd-fpm-cookery/haproxy/recipe.rb:51:in `install'

Darwin has a different gzip path:

$ which gzip
/usr/bin/gzip

So it'd be nice to change this up so it can find the correct gzip! 👍

@petems
Copy link
Contributor Author

petems commented Dec 3, 2014

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

No branches or pull requests

1 participant