Skip to content

Instantly share code, notes, and snippets.

View mengkuan's full-sized avatar

Meng-Kuan Chew mengkuan

  • Evidation Health
View GitHub Profile
@mengkuan
mengkuan / README.md
Created January 21, 2013 16:07 — forked from leucos/README.md

Deploying Ruby with Ansible

Define these variables somewhere and let it go :

  • ruby_current: the ruby version you want to deploy (e.g. "1.9.3-p374")
  • ruby_user: Under which account we want ruby to be installed (e.g. "myappuser"; "ruby" in this playbook)

Note : this playbook only works with '-i' in the sudo line since it requires the target user environment to be fully loaded