From 5b5fbe1c5394362b185ee406a27011ebdb6dbcda Mon Sep 17 00:00:00 2001 From: Rajan Agaskar Date: Fri, 4 Mar 2022 05:43:27 -0800 Subject: [PATCH] Recommend `setup.sh` as the default installation method. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This would've saved me a few minutes of wondering why `chruby` was "command not found" after compiling it on my system. 😄 I mean, my fault for not fully reading the instructions, but I suspect that's how many of us operate. 😄 --- README.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 31cad151..efe3391d 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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