From 9f795dbed0cdbc5458b6dc7adbce116868f0eede Mon Sep 17 00:00:00 2001 From: Jay Adkisson Date: Mon, 12 Mar 2012 10:13:12 -0700 Subject: [PATCH] BREAKING CHANGE: swap the argument order of `ry install` also include it in `ry usage` --- bin/ry | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bin/ry b/bin/ry index 1bcfd78..aa67379 100755 --- a/bin/ry +++ b/bin/ry @@ -90,12 +90,12 @@ ry::rubies() { } # -# ry install [config ...] +# ry install [config ...] # Installs the ruby from under the given name. # ry::install() { - local name="$1"; shift local url="$1"; shift + local name="$1"; shift [[ -z "$url" ]] && abort "no URL given. usage: ry install " @@ -259,6 +259,11 @@ ry::usage() { ry Use the ruby given by ry use + ry install + Download and compile , + and install as . + + ry remove Remove the given rubies ry rm