updated rbenv and rvm instructions to use 1.9.3

This commit is contained in:
Brandon Mathis 2012-07-31 15:45:05 -05:00
parent 15de735100
commit 66db21307f
2 changed files with 8 additions and 8 deletions

View File

@ -13,23 +13,23 @@ If that sounds daunting, Octopress probably isn't for you.
## Before You Begin
You'll need to [install Git](http://git-scm.com/) and set up your Ruby environment.
**Octopress requires Ruby 1.9.2** which you can easily install with [rbenv](https://github.com/sstephenson/rbenv) or [RVM](http://rvm.beginrescueend.com).
**Octopress requires Ruby 1.9.3** which you can easily install with [rbenv](https://github.com/sstephenson/rbenv) or [RVM](http://rvm.beginrescueend.com).
You can't use both rbenv and RVM on the same system, as they are competing Ruby environment managers, so choose one.
### Using rbenv
If you don't have rbenv, [Install rbenv](https://github.com/sstephenson/rbenv#section_2) and [install ruby-build](https://github.com/sstephenson/ruby-build), then install Ruby 1.9.2.
If you don't have rbenv, [Install rbenv](https://github.com/sstephenson/rbenv#section_2) and [install ruby-build](https://github.com/sstephenson/ruby-build), then install Ruby 1.9.3.
```sh
rbenv install 1.9.2-p290
rbenv install 1.9.3-p0
```
### Using RVM
If you don't have RVM, [Install RVM](/docs/setup/rvm) and then install Ruby 1.9.2.
If you don't have RVM, [Install RVM](/docs/setup/rvm) and then install Ruby 1.9.3.
```sh
rvm install 1.9.2 && rvm use 1.9.2
rvm install 1.9.3 && rvm use 1.9.3
```
@ -38,10 +38,10 @@ rvm install 1.9.2 && rvm use 1.9.2
```sh
git clone git://github.com/imathis/octopress.git octopress
cd octopress # If you use RVM, You'll be asked if you trust the .rvmrc file (say yes).
ruby --version # Should report Ruby 1.9.2
ruby --version # Should report Ruby 1.9.3
```
If `ruby --version` doesn't say you're using Ruby 1.9.2, you may want to [revisit your RVM installation](/docs/setup/rvm).
If `ruby --version` doesn't say you're using Ruby 1.9.3, you may want to [revisit your RVM installation](/docs/setup/rvm).
Next, install dependencies.

View File

@ -12,7 +12,7 @@ Installation should be pretty smooth, but if you have trouble [get help here](ht
Run this command to install RVM for your user account.
```sh
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
curl -L https://get.rvm.io | bash -s stable --ruby
```
Next add RVM to your shell as a function. (Or simply close and reopen your shell.)