lib/rvm/capistrano.rb in rvm-capistrano-1.3.0.rc5 vs lib/rvm/capistrano.rb in rvm-capistrano-1.3.0.rc6

- old
+ new

@@ -96,10 +96,10 @@ _cset(:rvm_install_type, :stable) _cset(:rvm_install_shell, :bash) # Let users set the (re)install for ruby. _cset(:rvm_install_ruby, :install) - _cset(:rvm_install_ruby_threads, "$(cat /proc/cpuinfo | grep vendor_id | wc -l)") + _cset(:rvm_install_ruby_threads, "$(cat /proc/cpuinfo 2>/dev/null | (grep vendor_id || echo 'vendor_id : Other';) | wc -l)") # Pass no special params to the ruby build by default _cset(:rvm_install_ruby_params, '') # Additional rvm packages to install.