Trivial convenience app for generating bin/executable unix utilites in scriping language of your choice, defaulting to ruby, because. I often forget the exact form and go to copy an existing one, this just saves me the effort, and anyone else who has the same issue.
Do not add this to your application's Gemfile; This does not belong in a gemfile.
All it does is give you an executable command (a pair of them actually, for both spellings, shabang and shebang) which takes a filename and creates that file, with a ruby shebang and executable permissions, at ./bin/FILENAME
There are some options for other paths and other options, but I doubt you'll need them. This is mostly to solve the problem of forgetting the syntax #!/usr/bin/env language-executable
- Fork it ( https://github.com/[my-github-username]/shabang/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request