Sha256: 045bbd5ced3491ae5c6a549e75f2d829f4218ace01f4b9513fd1689e54da2963
Contents?: true
Size: 1.01 KB
Versions: 2
Compression:
Stored size: 1.01 KB
Contents
--- - name: install dependencies apt: pkg={{ item }} state=present with_items: - libqt4-dev - libssl-dev - libreadline-dev - name: install rbenv sudo: true git: repo=git://github.com/sstephenson/rbenv.git dest={{ rbenv_root }} - name: install ruby-build as rbenv plugin sudo: true git: repo=https://github.com/sstephenson/ruby-build.git dest={{ rbenv_root }}/plugins/ruby-build - name: change owner of rbenv directory sudo: true file: path={{ rbenv_root }} owner={{ deploy_user }} recurse=yes state=directory - name: add rbenv symlink file: path=/usr/local/bin/rbenv src={{ rbenv_root }}/bin/rbenv state=link - name: export RBENV_ROOT to profile lineinfile: line='export RBENV_ROOT="{{ rbenv_root }}"' dest=/home/{{ deploy_user }}/.profile - name: export PATH to rbenv bin to profile lineinfile: line='export PATH="{{ rbenv_root }}/bin:$PATH"' dest=/home/{{ deploy_user }}/.profile - name: eval rbenv init lineinfile: line="eval \"$(rbenv init -)\"" dest=/home/{{ deploy_user }}/.profile
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails-ahoy-0.0.2 | lib/generators/ahoy/templates/ansible/playbooks/roles/ruby/tasks/rbenv.yml |
rails-ahoy-0.0.1 | lib/generators/ahoy/templates/ansible/playbooks/roles/ruby/tasks/rbenv.yml |