Skip to content
This repository has been archived by the owner on Jul 11, 2020. It is now read-only.

Commit

Permalink
Install ruby2.0 packages and symlink to the standard locations in /us…
Browse files Browse the repository at this point in the history
…r/bin
Sam Kottler committed Jun 18, 2014

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent 2f6452b commit 1ccefb5
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Berksfile.lock
Original file line number Diff line number Diff line change
@@ -141,7 +141,7 @@ GRAPH
rubygems-sensu (>= 0.0.0)
rubygems-ssh (>= 0.0.0)
rubygems-utility (>= 0.0.0)
rubygems-app (0.0.6)
rubygems-app (0.0.11)
apt (>= 0.0.0)
chef-vault (>= 0.0.0)
git (>= 0.0.0)
2 changes: 1 addition & 1 deletion cookbooks/rubygems-app/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name 'rubygems-app'

version '0.0.6'
version '0.0.11'

depends 'apt'
depends 'chef-vault'
12 changes: 11 additions & 1 deletion cookbooks/rubygems-app/recipes/ruby.rb
Original file line number Diff line number Diff line change
@@ -3,6 +3,16 @@
# Recipe:: ruby
#

# TODO
%w{ ruby2.0 ruby2.0-dev }.each do |pkg|
package pkg
end

link "/usr/bin/ruby" do
to "/usr/bin/ruby2.0"
end

link "/usr/bin/gem" do
to "/usr/bin/gem2.0"
end

gem_package 'bundler'

0 comments on commit 1ccefb5

Please sign in to comment.