Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

rubyinstaller (5) Versions 0.1.4

Installs/Configures RubyInstaller

Berkshelf/Librarian
Policyfile
Knife
cookbook 'rubyinstaller', '~> 0.1.4'
cookbook 'rubyinstaller', '~> 0.1.4', :supermarket
knife cookbook site install rubyinstaller
knife cookbook site download rubyinstaller
README
Dependencies
Quality 67%

RubyInstaller Chef Cookbook

This cookbook installs RubyInstaller and the DevKit on Windows machines

CI

Appveyor Build Status

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

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

windows ~> 2.1
chef-sugar ~> 3.4

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

License Metric
            

0.1.4 passed this metric

No Binaries Metric
            

0.1.4 passed this metric

Publish Metric
            

0.1.4 passed this metric

Supported Platforms 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 passed this metric