Skip to content

Instantly share code, notes, and snippets.

@imranismail
Created July 10, 2015 06:45
Show Gist options
  • Save imranismail/8d73c43888a774e7cbba to your computer and use it in GitHub Desktop.
Save imranismail/8d73c43888a774e7cbba to your computer and use it in GitHub Desktop.
How to setup middleman on OSX 10.10

Getting Started

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Install rbenv and ruby-build
brew install rbenv
brew install ruby-build
  • Install the latest ruby and set it as default ruby
rbenv install 2.2.2
rbenv global 2.2.2
  • Dont install gem docs
echo 'gem: --no-rdoc --no-ri' >> ~/.gemrc
  • Install middleman
gem install middleman
  • Clone repo
git clone git@github.com:mymagic/ma2015.git
  • Bundle install and start server
bundle install
bower install
npm install
  • Start server
middleman server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment