scripts/monitor in rvm-1.0.1 vs scripts/monitor in rvm-1.0.2
- old
+ new
@@ -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_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_scripts_path/set $rvm_action $rvm_ruby_args
+ "$rvm_scripts_path/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_scripts_path/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_scripts_path/set" "$rvm_action" $rvm_ruby_args
fi
update=1
fi
fi