Mac OS X setup guide

This commit is contained in:
Mitchell Hashimoto 2010-04-15 02:00:00 -07:00
parent 67760f79af
commit 8c9ce498a2
3 changed files with 47 additions and 1 deletions

View File

@ -0,0 +1,39 @@
---
layout: getting_started
title: Getting Started - Setting up Mac OS X
---
# Mac OS X
## Built-in
Mac OS X actually comes with Ruby and RubyGems built straight into the
operating system already. These installations work with Vagrant if you
want the "quick and easy setup." If this is the case, just head back to
the [getting started overview page](/docs/getting-started/index.html)
and continue with the guide!
## MacPorts
Generally, Ruby developers in general prefer to use [MacPorts](http://www.macports.org/) to install
a more up-to-date and unmodified version of Ruby and RubyGems rather
than relying on the stock OS X install.
First, install [MacPorts](http://www.macports.org/) which is a simple
`dmg` file which is downloaded from their site. Be sure to follow their
instructions on setting up the `PATH` variable, if necessary (the installer
actually automatically does this on the more recent versions of MacPorts).
Next, install Ruby and RubyGems with a single command:
{% highlight bash %}
$ sudo port install ruby rb-rubygems
{% endhighlight %}
And you'll probably want to update your RubyGems installation, since
MacPorts's is often out of date:
{% highlight bash %}
$ sudo gem update --system
{% endhighlight %}
And now your system is prepped and ready to go.

View File

@ -0,0 +1,7 @@
---
layout: getting_started
title: Getting Started - Setting up Ubuntu
---
# Ubuntu
Coming soon.

View File

@ -1,6 +1,6 @@
---
layout: getting_started
title: Windows
title: Getting Started - Setting up Windows
---
# Windows