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

rvm_gem create on every run #114

Open
cdenneen opened this issue Jan 17, 2016 · 3 comments
Open

rvm_gem create on every run #114

cdenneen opened this issue Jan 17, 2016 · 3 comments

Comments

@cdenneen
Copy link

The following resources:

rvm_gem {'ruby-2.1.6/bundler:1.11.2':
  ensure => installed
}
rvm_gem {'ruby-2.1.7/bundler:1.11.2':
  ensure => installed
}

Are created on every run.

@cdenneen
Copy link
Author

So I determined if I move the bundler version from the title to the ensure statement the idempotency works... so need to figure out why title isn't working 🐛

rvm_gem {'ruby-2.1.7/bundler':
  ensure => '1.11.2',
}

@eesprit
Copy link

eesprit commented Jan 29, 2016

Sorry, I found out that this another problem. I read too fast your description of the problem.

My patch is for fixing the "ensure => latest" that did not work.

@cdenneen
Copy link
Author

@eesprit I think the idea of latest removes idem potency.
The problem for this Issue is ruby 1.9+ support adding version number after colon as name. This ruby type needs to be modified to split version after colon if colon exists in name (similar how it splits name for @ to get ruby version)

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

2 participants