Skip to content

Instantly share code, notes, and snippets.

@akoumjian
Created July 26, 2013 01:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akoumjian/6085288 to your computer and use it in GitHub Desktop.
Save akoumjian/6085288 to your computer and use it in GitHub Desktop.
Installing ruby193 on ubuntu precise
rubyppa:
pkgrepo.managed:
- name: deb http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu precise main
- ppa: brightbox/ruby-ng
- file: /etc/apt/sources.list.d/ruby-ng-precise.list
ruby1.9.3:
pkg.installed:
- require:
- pkgrepo: rubyppa
ruby_alternative:
alternatives.install:
- name: ruby
- link: /usr/bin/ruby
- path: /usr/bin/ruby1.9.3
- priority: 10
- require:
- pkg: ruby1.9.3
gem_alternative:
alternatives.install:
- name: gem
- link: /usr/bin/gem
- path: /usr/bin/gem1.9.3
- priority: 10
- require:
- pkg: ruby1.9.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment