scripts/rubygems in rvm-0.1.40 vs scripts/rubygems in rvm-0.1.41
- old
+ new
@@ -87,10 +87,10 @@
#
# rvm rubygems use X
#
if [[ $# -gt 0 ]] ; then
version="$1" ; shift
- args=$(echo "$@" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
+ args="$(echo "$@" | __rvm_strip)"
else
$rvm_scripts_path/log "error" "A version must be specified, for example 'rvm rubygems 1.3.7'"
exit 1
fi