RVM now supports declaration of that stuff in a Gemfile (as of 1.11.0 anyway). Note there is a syntactic difference from what Bundler, Heroku, et. al. expect.

http://rvm.io/workflow/projects