Permalink
Browse files

bugfix: remove all of the rubies you specify

  • Loading branch information...
1 parent 90e5aec commit 11d1785c2f696fdcbf0723e42ea0896727f3aad8 @jneen committed Mar 18, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 bin/ry
View
5 bin/ry
@@ -265,12 +265,11 @@ ry::exec() {
#
# Remove <name ...>
#
-
ry::remove() {
- local name="$1"
- [[ -z "$name" ]] && abort "name(s) required"
+ [[ $# == 0 ]] && abort "name(s) required"
while [[ $# != 0 ]]; do
+ local name="$1"
rm -rf "$RY_LIB/rubies/$name"
shift
done

0 comments on commit 11d1785

Please sign in to comment.