Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sublime Text Ruby build system
{
"selector": "source.ruby",
"path": "$HOME/.rbenv/shims:$PATH",
"file_regex": "^(.*):([\\d]+):(.*) (.*)$",
"variants": [
{
"cmd": ["ruby", "-wv", "$file"],
"name": "Run"
},
{
"cmd": ["ruby", "-wvc", "$file"],
"name": "Check"
}
]
}
[
{ "keys": ["f9"], "command": "build", "args": {"variant": "Check"} },
{ "keys": ["f10"], "command": "build", "args": {"variant": "Run"} },
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.