Skip to content

Instantly share code, notes, and snippets.

@darthneel
Created November 7, 2014 05:26
Show Gist options
  • Save darthneel/b9fe6e95b9825be52d97 to your computer and use it in GitHub Desktop.
Save darthneel/b9fe6e95b9825be52d97 to your computer and use it in GitHub Desktop.
create executable file written in ruby

To create at executable

chmod 755 FILENAME


To write script in Ruby add #!/usr/bin/env ruby to top of file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment