Evaluate the selection in ♥♥♥Ruby♥♥♥, and print the result.
$ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
$ git clone https://github.com/jugyo/SublimeRubyEval.git RubyEval
The ruby_eval
command is binded to super+k, super+e
.
In your Preferences.sublime-settings:
{
…
"ruby_eval": {
// "ruby": "/usr/local/bin/ruby"
// "ruby": "~/.rvm/bin/ruby"
"ruby": "~/.rbenv/versions/2.0.0-dev/bin/ruby"
}
…
}
The Default is ruby
.