Permalink
Browse files

clean gemset pristine, fix #907

  • Loading branch information...
1 parent 3e8d328 commit da106ae5178c64b66ff94e76bd0ef633028b5b42 @mpapis mpapis committed May 29, 2012
Showing with 3 additions and 4 deletions.
  1. +3 −4 scripts/gemsets
View
@@ -924,19 +924,18 @@ gemset_pristine()
while read _gem _version _platforms
do
- printf "%b" "${_gem}-${_version} " | tee /dev/stderr
+ printf "%b" "${_gem}-${_version} "
if ! gem pristine ${_gem} --version ${_version} >/dev/null
then _failed+=( "${_gem} --version ${_version}" )
fi
done < <( GEM_PATH="$GEM_HOME" __rvm_list_gems )
if (( ${#_failed[@]} > 0 ))
then
- printf "%b" "\n"
- rvm_error "'gem pristine ${_failed[*]}' failed, you need to fix this gems manually."
+ rvm_error "\n'gem pristine ${_failed[*]}' failed, you need to fix this gems manually."
return 1
else
- rvm_log "finished."
+ rvm_log "\nfinished."
return 0
fi

0 comments on commit da106ae

Please sign in to comment.