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.sh no longer installed? #135

Open
fields opened this issue Jan 23, 2017 · 2 comments
Open

rvm.sh no longer installed? #135

fields opened this issue Jan 23, 2017 · 2 comments

Comments

@fields
Copy link

fields commented Jan 23, 2017

I'm migrating from using the rvm_io.rvm1-ruby galaxy role to using rvm_io.ruby, on centos. Previously, this role installed /etc/profile.d/rvm.sh so that rvm was started at login, but it seems that for a fresh machine where I've only used the rvm_io.ruby role, this file does not exist. Was this removed, and is there an alternate mechanism that should be used?

Thanks!

@saimonsharif
Copy link

Hi @fields, were you able to find a solution to this? I'm running into this now where /etc/profile.d/rvm.sh is only installed after running the galaxy role again.

@mehyedes
Copy link

mehyedes commented Apr 6, 2020

I have hit the same issue, where the file is not installed.
Had to add another task to update .bash_profile for my user:

  - name: Update jenkins user startup files for rvm
    lineinfile:
      dest: /home/jenkins/.bash_profile
      line: "source $HOME/.rvm/scripts/rvm"
      regexp: "^source.*rvm$"
      state: present
      insertafter: EOF
      owner: jenkins
    tags: ruby

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

3 participants