Skip to content

Recommend setup.sh as the default installation method. #475

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ Changes the current Ruby.

## Install

chruby includes a `setup.sh` script which installs chruby system-wide. Simply run the
script as root or via `sudo`:

```shell
wget -O chruby-0.3.9.tar.gz https://github.com/postmodern/chruby/archive/v0.3.9.tar.gz
tar -xzvf chruby-0.3.9.tar.gz
cd chruby-0.3.9/
sudo make install
sudo ./scripts/setup.sh
```

### PGP

All releases are [PGP] signed for security. Instructions on how to import my
Expand All @@ -55,14 +55,15 @@ wget https://raw.github.com/postmodern/chruby/master/pkg/chruby-0.3.9.tar.gz.asc
gpg --verify chruby-0.3.9.tar.gz.asc chruby-0.3.9.tar.gz
```

### setup.sh

chruby also includes a `setup.sh` script, which installs chruby. Simply run the
script as root or via `sudo`:
### Manual Installation

```shell
sudo ./scripts/setup.sh
wget -O chruby-0.3.9.tar.gz https://github.com/postmodern/chruby/archive/v0.3.9.tar.gz
tar -xzvf chruby-0.3.9.tar.gz
cd chruby-0.3.9/
sudo make install
```
> *Note:* Further setup is required when manually compiling -- see the "Configuration" section below

### Homebrew

Expand Down