cookbook 'brightbox-ruby', '~> 1.2.2'
brightbox-ruby (7) Versions 1.2.2 Follow2
Handles managing Rubies from brightbox
cookbook 'brightbox-ruby', '~> 1.2.2', :supermarket
knife supermarket install brightbox-ruby
knife supermarket download brightbox-ruby
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 totrue
. -
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 tonil
. -
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 tofalse
.
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 (ops@mojolingo.com)
License:: Apache 2.0
Dependent cookbooks
apt >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
master
1.2.2
- Permit removing
rubygems-bundler
from list of gems to install without breaking
1.2.1
- Fix character encoding issues in documentation (https://github.com/mojolingo/brightbox-ruby-cookbook/pull/3)
1.2.0
- Default to not installing ruby_switch on 14.x and later since it has been removed. See further details:
- http://askubuntu.com/questions/452243/what-versions-of-ruby-are-supported-in-14-04/457699#457699
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737782
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741050
- https://launchpad.net/ubuntu/+source/ruby-switch/+publishinghistory
- https://github.com/mojolingo/brightbox-ruby-cookbook/pull/2
1.1.1
- Remove loading of chef in metadata.rb
- Test on Ubuntu 14.04
1.1.0
- Allow forcing a different version of Rubygems than that included in the package
1.0.0
- First release
Collaborator Number Metric
1.2.2 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.2.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.2.2 failed this metric
FC064: Ensure issues_url is set in metadata: brightbox-ruby/metadata.rb:1
FC065: Ensure source_url is set in metadata: brightbox-ruby/metadata.rb:1
FC066: Ensure chef_version is set in metadata: brightbox-ruby/metadata.rb:1
FC069: Ensure standardized license defined in metadata: brightbox-ruby/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: brightbox-ruby/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.2.2 passed this metric
Testing File Metric
1.2.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.2.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.2.2 failed this metric
1.2.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.2.2 failed this metric
FC064: Ensure issues_url is set in metadata: brightbox-ruby/metadata.rb:1
FC065: Ensure source_url is set in metadata: brightbox-ruby/metadata.rb:1
FC066: Ensure chef_version is set in metadata: brightbox-ruby/metadata.rb:1
FC069: Ensure standardized license defined in metadata: brightbox-ruby/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: brightbox-ruby/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.2.2 passed this metric
Testing File Metric
1.2.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.2.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.2.2 failed this metric
FC065: Ensure source_url is set in metadata: brightbox-ruby/metadata.rb:1
FC066: Ensure chef_version is set in metadata: brightbox-ruby/metadata.rb:1
FC069: Ensure standardized license defined in metadata: brightbox-ruby/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: brightbox-ruby/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.2.2 passed this metric
Testing File Metric
1.2.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.2.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.2.2 failed this metric
1.2.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number