Skip to content

Commit

Permalink
Update install methods in Mac for Yosemite and Ruby2.2.0 .
Browse files Browse the repository at this point in the history
  • Loading branch information
igaiga committed Jan 13, 2015
1 parent 96cee5c commit 5b84533
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions _posts/2013-05-02-install.markdown
Expand Up @@ -27,7 +27,7 @@ Click the Apple menu and choose *About this Mac*.
![Apple menu](/images/1.png "Apple menu")

### *2.* In the window you will find the version of your operating system.
If your version number starts with 10.6, 10.7, 10.8 or 10.9 this guide is for you. If it’s something else, we can setup your machine at the event.
If your version number starts with 10.6, 10.7, 10.8, 10.9 or 10.10 this guide is for you. If it’s something else, we can setup your machine at the event.

![About this Mac dialog](/images/2.png "About this Mac dialog")

Expand All @@ -51,9 +51,9 @@ Make sure that all works well by running the application generator command.
rails new railsgirls
{% endhighlight %}

### *3b.* If your OS X version is 10.9:
### *3b.* If your OS X version is 10.9 or higher:

If your version number starts with 10.9, follow these steps. We are installing homebrew and rbenv.
If your version number starts with 10.9 or 10.10, follow these steps. We are installing homebrew and rbenv.

#### *3b1.* Install Command line tools on terminal:

Expand All @@ -64,7 +64,7 @@ xcode-select --install
#### *3b2.* Install [Homebrew](http://brew.sh/):

{% highlight sh %}
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
{% endhighlight %}

#### *3b3.* Install [rbenv](https://github.com/sstephenson/rbenv):
Expand All @@ -82,7 +82,7 @@ source ~/.bash_profile
You can find the newest version of Ruby with the command "rbenv install -l".

{% highlight sh %}
rbenv install 2.1.2
rbenv install 2.2.0
{% endhighlight %}

If you got "OpenSSL::SSL::SSLError: ... : certificate verify failed" error, try it this way.
Expand All @@ -95,7 +95,7 @@ cp /usr/local/opt/curl-ca-bundle/share/ca-bundle.crt `ruby -ropenssl -e 'puts Op
#### *3b5.* Set default Ruby:

{% highlight sh %}
rbenv global 2.1.2
rbenv global 2.2.0
{% endhighlight %}

#### *3b6.* Install rails:
Expand Down

0 comments on commit 5b84533

Please sign in to comment.