wayneeseguin/rvm-capistrano — pull request #36 by richardkmichael (2012-09-08 19:06:22+00:00)
Title: Teach RVM about (un)installing a gem.

I install RVM and ruby with `capistrano` (as opposed to a server setup tool such as Chef or Puppet).

Consequently, I'd like to be able to install a gem into the RVM gemset using `capistrano` as well. Otherwise, I would need to log into the server to do so. Using bundler via an application `Gemfile` is not a solution because some gems such as `passenger` (this is my case), should not be listed in the `Gemfile`.

This is a fairly naive implementation. It does not expose any of the options to `gem install` or `gem uninstall`, and it assumes you want to remove executables when uninstalling.

In particular, the uninstall does not remove dependencies. Rubygems does not do so either, but I do think it would be preferable. (Aside, there is a [rubygems issue](https://github.com/rubygems/rubygems/issues/133) open for dependency removal.)

Thoughts?