Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Installs Ruby versions with Boxen

This branch is even with boxen:kill-the-brew

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
files
lib/puppet
manifests
script
spec
.gitignore
.travis.yml
CONTRIBUTING.md
Gemfile
Gemfile.lock
README.md

README.md

Ruby Puppet Module for Boxen

Requires the following boxen modules:

  • boxen
  • homebrew

Usage

# ensure a certain ruby version is used in a dir
ruby::local { '/path/to/some/project':
  version => '1.9.3-p194'
}

# ensure a gem is installed for a certain ruby version
# note, you can't have duplicate resource names so you have to name like so
ruby::gem { "bundler for ${version}":
  gem     => 'bundler',
  ruby    => $version,
  version => '~> 1.2.0'
}

# install a ruby version
ruby::version { '1.9.3-p194':
  global => true
}

# we provide a ton of predefined ones for you though
require ruby::1-9-3-p194
Something went wrong with that request. Please try again.