Skip to content

Instantly share code, notes, and snippets.

@SudhagarS
Created July 25, 2015 15:49
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SudhagarS/cade2b918f7a16c4b0c5 to your computer and use it in GitHub Desktop.
Save SudhagarS/cade2b918f7a16c4b0c5 to your computer and use it in GitHub Desktop.
1. Go to your sublime home directory, then Packages/SublimeREPL/config/
2. Open 'Ruby' directory in config, make the changes in this PR to pry_repl.rb
https://github.com/wuub/SublimeREPL/pull/372/files
3. Run 'which ruby' in your terminal, and copy the path it returns.
eg. /Users/sudhagarsachin/.rbenv/shims/ruby
4. In Main.sublime-menu, line 33, the "osx" to this JSON.
"osx": [
"/Users/sudhagarsachin/.rbenv/shims/ruby", // replace this with your path
"${packages}/SublimeREPL/config/Ruby/pry_repl.rb",
"$editor"
]
5. Now open the Rails directory and do the same changes
in pry_repl.rb and Main.sublime-menu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment