Skip to content

Commit

Permalink
BREAKING CHANGE: swap the argument order of ry install
Browse files Browse the repository at this point in the history
also include it in `ry usage`
  • Loading branch information
jneen committed Mar 12, 2012
1 parent 74562ba commit 9f795db
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions bin/ry
Expand Up @@ -90,12 +90,12 @@ ry::rubies() {
}

#
# ry install <name> <tarball> [config ...]
# ry install <tarball> <name> [config ...]
# Installs the ruby from <tarball> 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 <name> <url>"

Expand Down Expand Up @@ -259,6 +259,11 @@ ry::usage() {
ry <name> Use the ruby given by <name>
ry use <name>
ry install <tarball> <name>
Download and compile <tarball>,
and install as <name>.
ry remove <name> Remove the given rubies
ry rm <name>
Expand Down

0 comments on commit 9f795db

Please sign in to comment.