Skip to content

Instantly share code, notes, and snippets.

@koko1000ban
Created March 6, 2013 04:41
Show Gist options
  • Save koko1000ban/5096754 to your computer and use it in GitHub Desktop.
Save koko1000ban/5096754 to your computer and use it in GitHub Desktop.
launch pry in sublime with SublimeRepl
{
"keys": ["ctrl+="],
"command": "repl_open",
"args" : {
"type":"subprocess",
"external_id":"ruby",
"encoding":"utf8",
"soft_quit":"\nexit\n",
"cwd":"$file_path",
"cmd_postfix":"\n",
"syntax":"Packages/Ruby/Ruby.tmLanguage",
"cmd":{
"windows":[
"ruby.exe",
"${packages}/SublimeREPL/config/Ruby/pry_repl.rb",
"$editor"
],
"linux":[
"ruby",
"${packages}/SublimeREPL/config/Ruby/pry_repl.rb",
"$editor"
],
"osx":[
"ruby",
"${packages}/SublimeREPL/config/Ruby/pry_repl.rb",
"$editor"
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment