I'm using textmate and when I try to use a shortcut to duplicate a line (ctrl + shift + d) it is giving me an error ruby: warning: -K is specified; it is for 1.8 compatibility and may cause odd behavior
.
This is weird because it just started doing this a few days ago. I pointed my textmate to point to 1.8 as another stackoverflow answer suggested, and that worked for a few months but all of a sudden it's not working anymore. How would I fix this?
If you wish to use TextMate 1.x on Mavericks you will need to tell TextMate to use ruby 1.8 for bundle items by putting the path to it first via the
PATH
variable.Open Preferences from the TextMate menu and go to the Advanced section and select the Shell Variables tab. Click the + button to add a new variable named
PATH
with a value of:/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin