- Get RubyInstaller 1.9.
- Install one of the following:
- Command line tools for XCode (~171MB, for Lion+)
- OSX GCC installer (<250MB, for Snow Leopard or Lion)
- XCode (1.4GB(!), for anyone else)
- Install Homebrew.
- You can now install Ruby 1.9 using
brew install ruby
.
You may also install with rbenv (recommended if you're developing on Ruby regularly), or rvm.
- Install Ruby using
sudo apt-get install ruby-1.9.1-full
.
You may also install with rbenv (recommended if you're developing on Ruby regularly), or rvm.
$ gem install bundler
$ bundle
$ bundle exec middleman
You may need to prefix the first 2 commands with sudo
(eg, sudo gem install bundler
) if it doesn't work.