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

Is there a way to specify a rubygems version? #111

Open
seafoodbuffet opened this issue Jan 13, 2016 · 2 comments
Open

Is there a way to specify a rubygems version? #111

seafoodbuffet opened this issue Jan 13, 2016 · 2 comments

Comments

@seafoodbuffet
Copy link

I'm running into an issue where the version of RubyGems installed has a bug that's fixed in a newer version of RubyGems. I don't see a way to update the RubyGems version. It would be great if there were a param like gems_version on rvm_system_ruby. something like:

rvm_system_ruby {
'ruby-1.9':
ensure => 'present',
default_use => true,
gems_version => '2.5.1'
}

is there a way to upgrade the rubygems version without making code changes to the puppet module?

@seafoodbuffet seafoodbuffet changed the title Is there a way to specify a specific rubygems version? Is there a way to specify a rubygems version? Jan 13, 2016
@dandunckelman
Copy link

I know this is an old issue, but I was looking for it as well.

It turns out that Rubygems is updated via gem update --system (to get the latest).

  • To specify a version, you run this: gem update --system VERSION

Since this module relies on specifying a gem name, there isn't a way to do it w/o changes to the module.

@dandunckelman
Copy link

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