scripts/gemsets in rvm-0.1.29 vs scripts/gemsets in rvm-0.1.30

- old
+ new

@@ -307,10 +307,14 @@ else gem env gemdir fi } +__rvm_gem_pristine() { + gem pristine --all +} + unset GEM_PATH if ! command -v gem > /dev/null ; then $rvm_scripts_path/log "error" "'gem' was not found, cannot perform gem actions (Do you have an RVM ruby selected?)" exit 1 @@ -340,9 +344,11 @@ __rvm_gemset_list elif [[ "gemdir" = "$action" ]] ; then __rvm_gemset_gemdir elif [[ "install" = "$action" ]] ; then __rvm_gem_install $* +elif [[ "pristine" = "$action" ]] ; then + __rvm_gem_pristine $* elif [[ "clear" = "$action" ]] ; then $rvm_scripts_path/log "info" "gemset cleared." exit 0 else $rvm_scripts_path/log "error" "Unrecognized gemset action '$action'.\n\nValid gems actions are: {create,use,import,export,copy,delete,empty,name,list,gemdir,install}"