TASK: [ruby | Ruby | Install compass gem] *************************************
failed: [default] => {"failed": true}
msg: Failed to find required executable gem
FATAL: all hosts have already failed -- aborting
This is the playbook content:
---
- name: Ruby | Install Ruby
apt: pkg=ruby update-cache=yes
sudo: yes
tags: ruby
- name: Ruby | Install compass gem
gem: name=compass
sudo: yes
tags: ruby
Please help.
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a811190d-df33-41e8-8fe5-0051d671455a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
ansible-playbook 1.7 (devel 27a73f2c11) last updated 2014/08/01 15:00:46 (GMT -500)
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/068544e5-0966-478f-919b-6d2ff498abcd%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/56647fc0-ba48-440f-8d3e-8594f6500b95%40googlegroups.com.
RubyGems Environment:
- RUBYGEMS VERSION: 1.6.2
- RUBY VERSION: 1.8.7 (2012-02-08 patchlevel 358) [i686-linux]
- INSTALLATION DIRECTORY: /opt/vagrant_ruby/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /opt/vagrant_ruby/bin/ruby
- EXECUTABLE DIRECTORY: /opt/vagrant_ruby/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /opt/vagrant_ruby/lib/ruby/gems/1.8
- /home/vagrant/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/12db0cc4-d7b1-4de9-afdb-99a8f95b24fe%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/975bc84b-70ac-4c3a-be25-19180151d2f7%40googlegroups.com.
curl -L https://get.rvm.io | bash -s stable
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
source ~/.rvm/scripts/rvm
echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc
rvm install 2.1.2
rvm use 2.1.2 --default
gem install compass