Skip to content

Instantly share code, notes, and snippets.

@4E71
Created March 6, 2012 08:03
Show Gist options
  • Save 4E71/1984831 to your computer and use it in GitHub Desktop.
Save 4E71/1984831 to your computer and use it in GitHub Desktop.
RVM: Commands
# Prepare OSX to use Pygmantize.
# Assumes using RVM, multiple ruby versions installed, & gemset has been created.
# Commands are executed via bash.
# More Info: https://github.com/injekt/rack-pygmentize
# http://pygments.org/
ruby -v # Check ruby version. Default is ruby 1.8.7.
rvm 1.9.3-head # Switch to ruby version.
rvm gemset use SOME_GEMSET_NAME # Specify gemset to use.
sudo easy_install Pygments # Install Pygments.
gem install rack-pygmentize # Install gem for use.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment