Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ignore_dependencies to rvm_gem type? #116

Open
alexjfisher opened this issue Feb 26, 2016 · 0 comments
Open

Add ignore_dependencies to rvm_gem type? #116

alexjfisher opened this issue Feb 26, 2016 · 0 comments

Comments

@alexjfisher
Copy link
Member

In my hiera, I specify the exact gem versions I want installed for a dozen or so gems.

Depending on the order they get installed, i can end up with some gems having multiple versions installed.

eg today in my hiera I have

my_gems:
  'unf':
    ensure: '0.1.4'
  'unf_ext':
    ensure: '0.0.7.1'

When unf gets installed before unf_ext, it pulls in unf_ext 0.0.7.2 (which wasn't out when I pinned to 0.0.7.1).
The Rvm_gem['unf_ext'] then installs 0.0.7.1 as asked, but I'm left with both gems installed.
an 'ignore_dependencies' parameter would be useful. It could default to false.
If this sounds reasonable, I'll work on a PR.

Kind Regards,
Alex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant