Skip to content

Commit

Permalink
Update rbenv and PostgreSQL steps for Linux
Browse files Browse the repository at this point in the history
Changes are based on Ubuntu but should apply similarly to other distros:
- rbenv is likely to be outdated if installed via apt-get, better to clone from GitHub so that more recent Ruby versions are available via rbenv
- libpq-dev is required for PostgreSQL (specifically for the `pg` gem)
  • Loading branch information
jonmcalder authored Jul 8, 2017
1 parent 8ac708c commit dd8c5a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/setting-up-local-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ These instructions assume you're using a package manager for your OS:
```
- Linux

- Install `rbenv` using [these instructions](https://github.com/rbenv/rbenv#installation)
- Install `rbuild` using [these instructions](https://github.com/rbenv/ruby-build#readme)
```
$ sudo apt-get update
$ sudo apt-get install rbenv ruby-build
$ rbenv install X.Y.Z
```

Expand All @@ -94,7 +94,7 @@ These instructions assume you're using a package manager for your OS:

```
$ sudo apt-get update
$ sudo apt-get install postgresql postgresql-contrib
$ sudo apt-get install postgresql postgresql-contrib libpq-dev
```

#### Installing Node.js (and npm)
Expand Down

0 comments on commit dd8c5a8

Please sign in to comment.