scripts/gems in rvm-0.0.86 vs scripts/gems in rvm-0.0.87
- old
+ new
@@ -174,11 +174,11 @@
#
# Evaluate
#
if [[ -z "$rvm_force_flag" ]] && [[ -f "${rvm_ruby_gem_home}/specifications/${gem_file_name}spec" ]] ; then
unset gem
- $rvm_scripts_path/log "warn" "$($rvm_scripts_path/color "yellow")$gem_name $gem_version$($rvm_scripts_path/color "none") exists, skipping (--force to re-install)"
+ $rvm_scripts_path/log "info" "$($rvm_scripts_path/color "green")$gem_name $gem_version$($rvm_scripts_path/color "none") exists, skipping (--force to re-install)"
else
if [[ -f "$gem" ]] ; then
cache_file="$gem"
elif [[ -f "$rvm_gem_path/cache/${gem_file_name}" ]] ; then
cache_file="$rvm_gem_path/cache/${gem_file_name}"
@@ -216,10 +216,10 @@
fi
if [[ ! -z "$gem" ]] ; then
# TODO: Set vars if fourth field is non-empty (means that there are conditional statements to execute in the gem install line.
__rvm_make_flags
- $rvm_scripts_path/log "info" "Installing $gem_name $gem_version..."
+ $rvm_scripts_path/log "warn" "$gem_name $gem_version is not installed, installing..."
if [[ ! -z "$rvm_ruby_gem_home" ]] ; then
command="GEM_HOME='$rvm_ruby_gem_home' GEM_PATH='$rvm_ruby_gem_home' $gem_prefix $rvm_ruby_home/bin/gem install --no-rdoc --no-ri -q $gem $gem_postfix $vars"
else
if [[ ! -z "$rvm_ruby_home" ]] ; then
command="$gem_prefix $rvm_ruby_home/bin/gem install --no-rdoc --no-ri -q $gem $gem_postfix $vars"