Skip to content

Instantly share code, notes, and snippets.

@dwayne
Last active November 9, 2017 15:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dwayne/6836231 to your computer and use it in GitHub Desktop.
Save dwayne/6836231 to your computer and use it in GitHub Desktop.
How to setup the SeeingIsBelieving Plugin for Sublime Text 2 on Ubuntu 13.04

Firstly, you've got to see it to believe it. Then, when you're all excited follow the steps below to set it up as a plugin for Sublime Text 2 on Ubuntu 13.04.

Using Git

  1. $ rvm 2.0.0@sublime-text-2 --create
  2. $ gem install seeing_is_believing
  3. $ cd ~/.config/sublime_text_2/Packages
  4. $ git clone git://github.com/JoshCheek/sublime-text-2-seeing-is-believing.git SeeingIsBelieving

Fix Settings (I use RVM)

  1. $ rvm wrapper 2.0.0@sublime-text-2 sublime
  2. Execute which sublime_ruby. It will return something like /home/username/.rvm/bin/sublime_ruby. Set ~/.rvm/bin/sublime_ruby as the value of ruby_command in the settings file.

Usage

  1. Restart Sublime
  2. Open a Ruby file
  3. Type Ctrl + Alt + b to Evaluate Ruby code with Seeing Is Believing
  4. That's it

Resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment