I'm busy writing up a Capistrano deployment script for one of our applications. One of the steps installs RVM using the following command:
run "cat ~/rvm-installer.sh | bash -s stable --ruby"
However, I feel the output is too verbose, and I rather want to dump it into a .log file. Is it possible to redirect the output for the entire rvm-installer.sh script elsewhere?