cookbook 'rubyinstaller', '~> 0.1.4'
rubyinstaller (5) Versions 0.1.4 Follow1
Installs/Configures RubyInstaller
cookbook 'rubyinstaller', '~> 0.1.4', :supermarket
knife supermarket install rubyinstaller
knife supermarket download rubyinstaller
RubyInstaller Chef Cookbook
This cookbook installs RubyInstaller and the
DevKit on
Windows machines
CI
Requirements
Platform
This should work on any Windows platform but it's been tested under 2012R2 64-bit.
Right now, it does not support Ruby 1.8 or 1.9 because of the DevKit requirement.
Usage
Include recipe[rubyinstaller]
in your run list to install the latest versions of
Ruby and the DevKit.
Recipes
default
Installs RubyInstaller, downloads and extracts the DevKit, and links Ruby to the DevKit.
Attributes
-
default['rubyinstaller']['version']
- Version of RubyInstaller to install. Defaults to version '2.3.0' -
default['rubyinstaller']['path']
- Path to install Ruby to. It's best to leave this alone unless you change the installer version. The main thing is that this should be a path without spaces.
Development
- Source hosted at [GitHub][https://github.com/emachnic/chef-rubyinstaller]
- Report issues/Questions/Feature requests on [GitHub Issues][https://github.com/emachnic/chef-rubyinstaller/issues]
Contributing
Pull requests are very welcome! Ideally create a topic branch for every
separate change you make.
This cookbook uses [ChefSpec][chefspec] for unit tests. I also use Food
Critic and RuboCop to check for style issues.
When contributing it would be very helpful if you could run these via
bundle exec rake spec
and bundle exec rake rubocop
. You can also
just run all of them with bundle exec rake
.
Lastly, there are [Inspec][inspec] integration tests for use
with Test Kitchen. At the very least the installation
integration tests should be run. You'll need a Windows box to test with
and you can find instructions for that on the Test Kitchen documentation.
License and Author
Author:: Evan Machnic (emachnic@gmail.com)
Copyright 2016, Evan Machnic
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Dependent cookbooks
chef-sugar ~> 3.4 |
windows ~> 2.1 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.4 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.4 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
0.1.4 passed this metric
No Binaries Metric
0.1.4 passed this metric
Testing File Metric
0.1.4 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
0.1.4 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
0.1.4 failed this metric
0.1.4 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
0.1.4 passed this metric
No Binaries Metric
0.1.4 passed this metric
Testing File Metric
0.1.4 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
0.1.4 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
0.1.4 passed this metric
0.1.4 passed this metric
Testing File Metric
0.1.4 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
0.1.4 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
0.1.4 failed this metric
0.1.4 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