Skip to content

Instantly share code, notes, and snippets.

@jgwhite
Created June 9, 2011 12:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jgwhite/1016622 to your computer and use it in GitHub Desktop.
Save jgwhite/1016622 to your computer and use it in GitHub Desktop.
#!/bin/sh
rvm install ree
rvm use ree@global
gem install bundler
gem install rake
cd ~/wherever/project/lives
rvm gemset create project_name
echo "rvm use ree@project_name" > .rvmrc
`cat .rvmrc`
echo -e "source :rubygems\ngem middleman" > Gemfile
bundle
bundle exec mm-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment