scripts/monitor in rvm-0.1.34 vs scripts/monitor in rvm-0.1.35
- old
+ new
@@ -1,10 +1,10 @@
#!/usr/bin/env bash
if [[ -z "$rvm_trace_flag" ]] ; then set +x ; else set -x ; fi
-original_ruby_version=$rvm_ruby_version
+original_ruby_strings=$rvm_ruby_strings
original_ruby_string=$rvm_ruby_string
source $rvm_scripts_path/rvm
rvm_monitor_sleep="${rvm_monitor_sleep:-2}"
@@ -55,11 +55,11 @@
push_if_timestamp_changed $file $framework
fi
done
if [[ "$(array_length "changed_${framework}_files")" -gt 0 ]] ; then
- rvm_ruby_version=$original_ruby_version
+ 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
@@ -70,10 +70,10 @@
fi
update=1
fi
if [[ "$(array_length "changed_code_files")" -gt 0 ]] ; then
- rvm_ruby_version=$original_ruby_version
+ 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