Skip to content

Instantly share code, notes, and snippets.

@kayo-tozaki
Created April 25, 2016 07:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kayo-tozaki/f401ac7e3727db5261192359ccad5cf1 to your computer and use it in GitHub Desktop.
Save kayo-tozaki/f401ac7e3727db5261192359ccad5cf1 to your computer and use it in GitHub Desktop.
- name: add rbenv path
lineinfile: >
dest=/home/ユーザ名/.bashrc
line='PATH="${RBENV_ROOT}/bin:/sbin/:${PATH}"'
create=yes
- name: set .rbenv path
lineinfile: >
dest=/home/ユーザ名/.bashrc
line='eval "$(rbenv init -)"'
create=yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment