cookbook 'ruby-env-cookbook', '= 0.1.3'
ruby-env-cookbook (5) Versions 0.1.3 Follow0
Installs/Configures a ruby dev environment
cookbook 'ruby-env-cookbook', '= 0.1.3', :supermarket
knife supermarket install ruby-env-cookbook
knife supermarket download ruby-env-cookbook
ruby-env-cookbook
Use this cookbook to set up a ruby development environment!
Supported Platforms
Vagrant with ubuntu
Attributes
MySQL attributes
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['ruby_env_cookbook']['mysql']['service_name']</tt></td>
<td>String</td>
<td>The name of the MySQL service that is installed</td>
<td><tt>default</tt></td>
</tr>
<tr>
<td><tt>['ruby_env_cookbook']['mysql']['version']</tt></td>
<td>String</td>
<td>The version of the MySQL service that is installed</td>
<td><tt>5.5</tt></td>
</tr>
<tr>
<td><tt>['ruby_env_cookbook']['mysql']['port']</tt></td>
<td>String</td>
<td>The port on which the MySQL service is installed</td>
<td><tt>3306</tt></td>
</tr>
<tr>
<td><tt>['ruby_env_cookbook']['mysql']['password']</tt></td>
<td>String</td>
<td>The password for the MySQL service that is installed</td>
<td><tt>password</tt></td>
</tr>
<tr>
<td><tt>['ruby_env_cookbook']['mysql']['action']</tt></td>
<td>Array</td>
<td>The actions that will be run when the MySQL service that is installed</td>
<td><tt>[:create, :start]</tt></td>
</tr>
<tr>
<td><tt>['ruby_env_cookbook']['mysql']['include_client']</tt></td>
<td>Boolean</td>
<td>If true, the MySQL client and development libraries will be installed</td>
<td><tt>true</tt></td>
</tr>
</table>
RBEnv attributes
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['ruby_env_cookbook']['rbenv']['user']</tt></td>
<td>String</td>
<td>The user for which this ruby is installed</td>
<td><tt>vagrant</tt></td>
</tr>
<tr>
<td><tt>['ruby_env_cookbook']['rbenv']['version']</tt></td>
<td>String</td>
<td>The version of ruby to be installed</td>
<td><tt>2.4.2</tt></td>
</tr>
<tr>
<td><tt>['ruby_env_cookbook']['rbenv']['gems']</tt></td>
<td>Array</td>
<td>An array of gems to be installed</td>
<td><tt>[{name: 'bundler', version: '1.16.0'}]</tt></td>
</tr>
</table>
Usage
Recipes
Include ruby-env-cookbook
recipes in your node's run_list
:
{ "run_list": [ "recipe[ruby-env-cookbook::apt]", "recipe[ruby-env-cookbook::mysql]", "recipe[ruby-env-cookbook::phantomjs]", "recipe[ruby-env-cookbook::rbenv]" ] }
or in a vagrant environment:
chef.add_recipe 'ruby-env-cookbook::apt'
chef.add_recipe 'ruby-env-cookbook::mysql'
chef.add_recipe 'ruby-env-cookbook::phantomjs'
chef.add_recipe 'ruby-env-cookbook::rbenv'
License and Authors
License:: MIT License
Author:: Daniel Waters (daniel.waters@softwire.com)
Dependent cookbooks
apt ~> 2.9.2 |
mysql ~> 8.0 |
phantomjs2 ~> 1.1.0 |
ruby_rbenv ~> 2.0.5 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
0.1.3
Updating issue/source URLs
0.1.2
Satisfying foodcritic linting issues
0.1.1
Satisfying Supermarket linting issues
0.1.0
Initial release of cookbook, including apt, mysql, phantomjs and rbenv recipes
Collaborator Number Metric
0.1.3 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.3 passed this metric
License Metric
0.1.3 passed this metric
No Binaries Metric
0.1.3 passed this metric
Testing File Metric
0.1.3 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.3 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.3 failed this metric
0.1.3 passed this metric
License Metric
0.1.3 passed this metric
No Binaries Metric
0.1.3 passed this metric
Testing File Metric
0.1.3 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.3 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.3 passed this metric
0.1.3 passed this metric
Testing File Metric
0.1.3 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.3 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.3 failed this metric
0.1.3 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