Skip to content

Instantly share code, notes, and snippets.

@leemour
Forked from pmarreck/Ruby.sublime-build
Created September 6, 2013 15:41
Show Gist options
  • Save leemour/6465673 to your computer and use it in GitHub Desktop.
Save leemour/6465673 to your computer and use it in GitHub Desktop.
Build Ruby with RVM in Sublime Text 3
# Get Sublime to use your rvm ruby... Change your ~/Library/Application Support/Sublime Text 2/Packages/Ruby/Ruby.sublime-build to this, replacing YOURUSERNAME:
{
"cmd": [
"bundle", "exec", "/Users/YOURUSERNAME/.rvm/bin/rvm-auto-ruby", "$file"
],
"file_regex": "^(...*?):([0-9]*):?([0-9]*)",
"selector": "source.ruby"
}
@leemour
Copy link
Author

leemour commented Sep 6, 2013

Put into ~/.config/sublime-text-3/Packages/User

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