-
-
Save rmetzler/418098c603ae9d52fa2b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install Ruby | |
## =============================================== | |
- name: Install dependencies | |
apt: name={{ item }} state=latest update_cache=yes | |
with_items: | |
- bison | |
- openssl | |
- libyaml-dev | |
- autoconf | |
- automake | |
- libtool | |
- pkg-config | |
- name: Add Brightbox PPA | |
apt_repository: repo=ppa:brightbox/ruby-ng | |
- name: Install Ruby | |
apt: name={{ item }} state=latest update_cache=yes | |
with_items: | |
- ruby2.1 | |
- ruby2.1-dev | |
- ruby2.1-doc | |
- name: Install some useful ruby gems | |
gem: name={{ item }} state=present | |
with_items: | |
- rails |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
unfortunately the brightbox ppa doesn't seem to have the latest Ruby version available :(