gem install bundler
bundle install
(this sometimes causes problems b/c of Nokogiri - if so, runbundle config build.nokogiri --use-system-libraries
first)
bundle exec middleman
rake build
(if you want to check the build before publishing)rake publish
(to go ahead and push to Github pages)
It seems like sometimes you have to clear out the build directory before publishing - if you get errors, try rm -rf build && rake publish