fnichol/chef-rvm — Issue #63: Cannot edit default.gems, no versions in global.gems
Author: bensomers
Created: 2012-01-19 00:27:58+00:00
State: open

Currently, there's no mechanism (that I can find) in chef-rvm for automatically writing to your default.gems, and the mechanism for global.gems appears flawed. default.gems appears to be getting generated as the rvm defaults (which can wind up installing the wrong versions of rake and bundler), and global.gems is getting generated additively, so it contains the rvm defaults plus anything we've called with rvm_global_gem. Again, my use case is that I want specific, slightly old versions of bundler and rake, while rvm defaults to installing the newest ones.

Also, the entries added to global.gems don't include version number strings.

I'm currently reworking this for my purposes with templates instead, will pull request once I've got it working well. I still don't have an answer for getting the gem source into those files (the documentation doesn't mention iit, I'm seeking an answer from wayne et al.).