Deploying a site with Middleman and Git

Installing Middleman

First things first, so install rvm and all your dependencies.

\curl -L | bash -s stable
source $HOME/.rvm/scripts/rvm
rvm install 1.9.3
rvm use 1.9.3
echo "source $HOME/.rvm/scripts/rvm" >> ~/.bash_profile
bundle install

For some reason, this failed when installing v8, but it worked when I just explicitly installed it:

gem install