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 version attribute doesn't work #152

Closed
mperham opened this issue Jan 24, 2013 · 4 comments
Closed

rvm version attribute doesn't work #152

mperham opened this issue Jan 24, 2013 · 4 comments
Assignees

Comments

@mperham
Copy link

mperham commented Jan 24, 2013

We're trying to lock the RVM version and finding that rvm::system installs the latest version. In our role:

default_attributes({
  "rvm" => {
    "version" => "1.17.8",
    "default_ruby" => "ruby-1.9.3-p327",
  }
})

But when I run everything in vagrant, I get this:

  rvm:
    version:      "rvm 1.18.1 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
    updated:      "3 minutes 16 seconds ago"
@fnichol
Copy link
Contributor

fnichol commented Jan 24, 2013

Ah dang, I'll get a fix in for this right after rvm/rvm#1466 which should solve current release.

@ghost ghost assigned fnichol Jan 24, 2013
@fnichol
Copy link
Contributor

fnichol commented Jan 25, 2013

Should be closed off now with testing to cover regressions. Please reopen if this isn't the case. Thanks @mperham for reporting!

@mpapis
Copy link
Contributor

mpapis commented Jan 28, 2013

looking at rvm-installer code you should be fine with:

def build_script_flags(branch = "master", version = "head")
  " -s -- --branch #{branch} --version #{version}"
end

@lock
Copy link

lock bot commented Apr 25, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants