Skip to content

benlangfeld/brightbox-ruby-cookbook

 
 

Repository files navigation

Description

This cookbook provides support for installing the BrightBox builds of Ruby.

For more documentation on these builds, please see the official brightbox documentation.

Please Note: If you're upgrading from an older version, the default action is to upgrade packages. To change this, you need to override node['brightbox-ruby']['default_action'].

Requirements

Platform:

  • Ubuntu

Cookbooks:

  • apt

Attributes

  • node['brightbox-ruby']['default_action'] - Default action for Ruby install. Available options: :upgrade, :install. Defaults to :upgrade.
  • node['brightbox-ruby']['version'] - The version of Ruby to install. Defaults to "2.1".
  • node['brightbox-ruby']['install_dev_package'] - Install the dev package, which provides headers for gem native extensions. Available options: true, false. Defaults to true.
  • node['brightbox-ruby']['gems'] - Gems to be installed by default. Defaults to ["bundler", "rake", "rubygems-bundler"].
  • node['brightbox-ruby']['rubygems_version'] - The version of rubygems to enforce, or nil to use the default packaged version. Defaults to nil.
  • node['brightbox-ruby']['install_ruby_switch'] - Wether of not to install ruby_switch. Defaults to false on recent versions of Ubuntu (>= 14.x) since ruby_switch has been deprecated. Defaults to false.

Recipes

  • brightbox-ruby::default - Adds the brightbox repository, installs the Ruby package, sets it as the default then installs a sane server gemrc and adds bundler, rake and rubygems-bundler gems to bootstrap your environment.

Contributing

We encourage all community contributions. Keeping this in mind, please follow these general guidelines when contributing:

  • Fork the project
  • Create a topic branch for what you're working on (git checkout -b awesome_feature)
  • Commit away, push that up (git push your_remote awesome_feature)
  • Create a new GitHub Issue with the commit, asking for review. Alternatively, send a pull request with details of what you added.
  • Once it's accepted, if you want access to the core repository feel free to ask! Otherwise, you can continue to hack away in your own fork.

Other than that, our guidelines very closely match the GemCutter guidelines here.

(Thanks to GemCutter for the contribution guide)

License and Maintainer

Maintainer:: Mojo Lingo LLC ([email protected])

License:: Apache 2.0

Packages

No packages published

Languages

  • Ruby 95.1%
  • Makefile 4.9%