scripts/monitor in rvm-0.1.27 vs scripts/monitor in rvm-0.1.29
- old
+ new
@@ -60,30 +60,29 @@
rvm_ruby_version=$original_ruby_version
rvm_ruby_string=$original_ruby_string
if [[ "spec" = "$framework" ]] ; then
rvm_action="spec"
rvm_ruby_args="spec/spec_helper.rb ${changed_spec_files[*]}"
- __rvm_do
-
+ $rvm_scripts_path/set $rvm_action $rvm_ruby_args
elif [[ "test" = "$framework" ]] ; then
rvm_action="ruby"
rvm_ruby_args=" -r$(echo "${changed_test_files[*]}" | sed 's/ / -r/g') test/test_helper.rb"
- __rvm_do
+ $rvm_scripts_path/set $rvm_action $rvm_ruby_args
fi
update=1
fi
if [[ "$(array_length "changed_code_files")" -gt 0 ]] ; then
rvm_ruby_version=$original_ruby_version
rvm_ruby_string=$original_ruby_string
if [[ "spec" = "$framework" ]] ; then
rvm_action="spec"
rvm_ruby_args="spec/"
- __rvm_do
+ $rvm_scripts_path/set $rvm_action $rvm_ruby_args
elif [[ "test" = "$framework" ]] ; then
rvm_action="rake"
rvm_ruby_args="test"
- __rvm_do
+ $rvm_scripts_path/set $rvm_action $rvm_ruby_args
fi
update=1
fi
fi