-
-
Save trivektor/c098dd6bfb62ba7f061f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Change this: | |
... | |
#!/usr/bin/ruby | |
require 'osx/cocoa' | |
# My Script… | |
... | |
# To this: | |
... | |
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby | |
require 'osx/cocoa' | |
# My Script… | |
... | |
# (this is untested in versions of OS X previous to 10.9, if you test it and confirm that scripts work correctly in 10.8 and below, please leave a comment) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment