cookbook 'brightbox-ruby', '= 1.2.0'
brightbox-ruby (7) Versions 1.2.0 Follow2
Handles managing Rubies from brightbox
cookbook 'brightbox-ruby', '= 1.2.0', :supermarket
knife supermarket install brightbox-ruby
knife supermarket download brightbox-ruby
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']- Default action for Ruby install. Available options:
:install. Defaults to
node['brightbox-ruby']['version']- The version of Ruby to install. Defaults to
node['brightbox-ruby']['install_dev_package']- Install the dev package, which provides headers for gem native extensions. Available options:
false. Defaults to
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
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
- 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.
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@example.com)
License:: Apache 2.0
|apt >= 0.0.0|
There are no cookbooks that are contingent upon this one.
- Default to not installing ruby_switch on 14.x and later since it has been removed. See further details:
- Remove loading of chef in metadata.rb
- Test on Ubuntu 14.04
- Allow forcing a different version of Rubygems than that included in the package
- First release
1.2.0 passed this metric
1.2.0 passed this metric