Sha256: 0c931d6b64132e0afbdb95984ab875f7b1c6fec0ad1ee3dfe7b2509b49c35b98

Contents?: true

Size: 483 Bytes

Versions: 2

Compression:

Stored size: 483 Bytes

Contents

---
- name: check if proper ruby version is installed
  shell: RBENV_ROOT={{ rbenv_root }} rbenv versions | grep {{ ruby_version }}
  register: ruby_installed
  ignore_errors: yes

- name: install proper ruby version
  shell: RBENV_ROOT={{ rbenv_root }} rbenv install {{ ruby_version }}
  when: ruby_installed|failed

- name: set global ruby
  shell: RBENV_ROOT={{ rbenv_root }} rbenv global {{ ruby_version }}

- name: rehash rbenv
  shell: RBENV_ROOT={{ rbenv_root }} rbenv rehash

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/ruby.yml
rails-ahoy-0.0.1 lib/generators/ahoy/templates/ansible/playbooks/roles/ruby/tasks/ruby.yml