scripts/monitor in rvm-1.0.6 vs scripts/monitor in rvm-1.0.7
- old
+ new
@@ -1,11 +1,11 @@
#!/usr/bin/env bash
original_ruby_strings=$rvm_ruby_strings
original_ruby_string=$rvm_ruby_string
-source "$rvm_scripts_path/base"
+source "$rvm_path/scripts/base"
rvm_monitor_sleep="${rvm_monitor_sleep:-2}"
timestamp() {
if [[ "Darwin" = "$(uname)" ]] ; then
@@ -56,29 +56,29 @@
rvm_ruby_strings=$original_ruby_strings
rvm_ruby_string=$original_ruby_string
if [[ "spec" = "$framework" ]] ; then
rvm_action="spec"
rvm_ruby_args="spec/spec_helper.rb ${changed_spec_files[*]}"
- "$rvm_scripts_path/set" $rvm_action $rvm_ruby_args
+ "$rvm_path/scripts/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_scripts_path/set" $rvm_action $rvm_ruby_args
+ "$rvm_path/scripts/set" $rvm_action $rvm_ruby_args
fi
update=1
fi
if [[ "$(array_length "changed_code_files")" -gt 0 ]] ; then
rvm_ruby_strings=$original_ruby_strings
rvm_ruby_string=$original_ruby_string
if [[ "spec" = "$framework" ]] ; then
rvm_action="spec"
rvm_ruby_args="spec/"
- "$rvm_scripts_path/set" $rvm_action $rvm_ruby_args
+ "$rvm_path/scripts/set" $rvm_action $rvm_ruby_args
elif [[ "test" = "$framework" ]] ; then
rvm_action="rake"
rvm_ruby_args="test"
- "$rvm_scripts_path/set" "$rvm_action" $rvm_ruby_args
+ "$rvm_path/scripts/set" "$rvm_action" $rvm_ruby_args
fi
update=1
fi
fi