yyuu/capistrano-rbenv — pull request #2 by xstasi (2013-01-22 10:40:09+00:00)
Title: Avoid installing build dependencies unless needed

In some setups the shell user might not be able to run sudo, thus causing the deploy task to fail even when the dependencies are installed.

This patch makes capistrano check whether the dependencies are already installed, and runs sudo only if they are missing.