'm receiving an error when trying to install compass using a playbook (on an AWS EC2 instance)
Usually we use the following script to install compass -
curl -L [https://get.rvm.io](https://get.rvm.io/) | bash -s stable
gpg --keyserver hkp://[keys.gnupg.net](http://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
I’ve tried converting this to script to the following playbook -