Integration of seeing_is_believing to sublime text 2/3 as a plugin with RVM on OS X.
$ rvm 2.0.0@sublime-text-2 --createor for ST-3$ rvm 2.0.0@sublime-text-3 --create$ gem install seeing_is_believing$ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packagesor for ST-3$ cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packagesgit clone git://github.com/JoshCheek/sublime-text-2-seeing-is-believing.git SeeingIsBelieving$ rvm wrapper 2.0.0@sublime-text-2 sublimeor for ST-3$ rvm wrapper 2.0.0@sublime-text-3 sublime- Execute
which sublime_ruby. It will return something like this/Users/name/.rvm/bin/sublime_ruby.
Fixing Settings
Open the setting file for SeeingIsBelieving.
Set ~/.rvm/bin/sublime_ruby as the value of ruby_command in the file.
Comment out the line containing RBENV_VERSION.
Example: //"RBENV_VERSION": "2.0.0-p0".
- Restart Sublime
- Open a ruby file
- Run the command
Evaluate Ruby code with Seeing Is Believingfrom your command pallete (⌘ + ⇧ + P), or press (⌥ + ⌘ + B). - To edit the ruby file, run
Remove Seeing Is Believing annotationsor press (⌥ + ⌘ + V).
Awesome, thanks! That fixed the problems I was having.