Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Who commented out that shift? :)

  • Loading branch information...
commit 151935a967df3b7561ddfd1bf4801e3428a17492 1 parent f02ff22
@wayneeseguin wayneeseguin authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 scripts/cli
View
8 scripts/cli
@@ -17,7 +17,7 @@ __rvm_parse_args() {
while [[ $# -gt 0 ]] ; do
rvm_token="$1" ; shift
case "$rvm_token" in
- fetch|path|info|setup|version|srcdir|list|reset|debug|load|reload|implode|readline|update|iconv|curl|openssl|ncurses|zlib|readline|monitor|notes)
+ fetch|path|info|setup|version|srcdir|list|reset|debug|reload|implode|readline|update|iconv|curl|openssl|ncurses|zlib|readline|monitor|notes)
rvm_action=$rvm_token
;;
@@ -59,8 +59,8 @@ __rvm_parse_args() {
gems|gemset)
rvm_action="gems"
if [[ "name" = "$1" ]] || [[ "dir" = "$1" ]] || [[ "list" = "$1" ]] || [[ "empty" = "$1" ]] || [[ "delete" = "$1" ]] || [[ "dump" = "$1" ]] || [[ "load" = "$1" ]] ; then
- rvm_ruby_args="$*"
- #export rvm_${1}_flag=1 ; shift
+ rvm_ruby_args="$*" ; shift
+ export rvm_${1}_flag=1 ; shift
else
rvm_gem_set_name="$1" ; shift
export rvm_use_flag=1 # Default is to use the (named) gem set.
@@ -262,7 +262,7 @@ __rvm_parse_args() {
tests|specs) rvm_action="tests" ;;
--trace) export rvm_trace_flag=1 ; set -x ;;
- --self|--gem|--rubygems|--reconfigure|--default|--debug|--force|--all|--dump|--summary|--jit|--latest|--yaml|--json|--archive|--shebang|--env|--path|--tail|--delete|--verbose)
+ --self|--gem|--rubygems|--reconfigure|--default|--debug|--force|--all|--dump|--summary|--jit|--latest|--yaml|--json|--archive|--shebang|--env|--path|--tail|--delete|--verbose|--load)
export rvm_$(echo $rvm_token | sed 's#-##g')_flag=1
if [[ "--debug" = "$rvm_token" ]] ; then export rvm_debug_flag ; fi
;;
Please sign in to comment.
Something went wrong with that request. Please try again.