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

Update gemspec so bin wrapper is created in PATH #48

Merged
merged 3 commits into from
Nov 21, 2022
Merged

Update gemspec so bin wrapper is created in PATH #48

merged 3 commits into from
Nov 21, 2022

Conversation

mvastola
Copy link
Contributor

@mvastola mvastola commented Feb 7, 2019

I just installed this gem and I ran into a minor annoyance: jmespath.rb isn't added to $GEM_HOME/bin automatically, and therefore it's not possible to easily run bin/jmespath.rb from the command line.

The cause of this is that jmespath.rb was not listed in the gemspec in the executables field.

This one-line PR defines that field in the gemspec and fixes this problem.

mvastola and others added 3 commits February 7, 2019 14:12
.. this is needed so that rubygems knows to create an wrapper in its bin directory to the script so it will be in the user's PATH.
@mullermp
Copy link
Contributor

I'm sorry this took too long to look at, but it seems like a simple thing to add.

@mullermp mullermp merged commit a085656 into jmespath:main Nov 21, 2022
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.

3 participants