Skip to content

Instantly share code, notes, and snippets.

require 'formula'
class TmuxIterm2 < Formula
url 'https://iterm2.googlecode.com/files/tmux-for-iTerm2-20130210.tar.gz'
sha1 'd16f3c3abd510cb0a1fc6209bfb3fd83c5639f19'
head 'git://tmux.git.sourceforge.net/gitroot/tmux/tmux'
depends_on 'pkg-config' => :build
depends_on 'libevent'
This is an example of using RVM's Project .rvmrc file
to have it automatically bootstrap your environment, including bundler.
This could be further expanded to do anything you require :)
The important thing to remember is that the purpose of these files is
to allow you to very easily have your 'project context' (aka 'environment')
loaded automatically for you when you enter the project in the shell (cd).
You can generate the .rvmrc file below by running: