cookbook 'rails_rvm', '~> 0.1.0'
rails_rvm (1) Versions 0.1.0 Follow8
Installs/Configures rvm on rails
cookbook 'rails_rvm', '~> 0.1.0', :supermarket
knife supermarket install rails_rvm
knife supermarket download rails_rvm
Description
Installs System Wide RVM via RVM recipe (you can use an attribute to specify version of ruby to be installed). RVM is configured for the specified user to work on boot.
Then Rails is installed (again version can be specified by attribute).
Requirements
Platforms:
I have only tested this recipe on Ubuntu 10.04, I put in metadata.rb that all version of Ubuntu are supported.
Depends:
This recipe depends on the rvm recipes.
Attributes
default[:rails_rvm][:user] = user to install/setup rvm and rails under
You can get more info about creating a password hash at:
http://wiki.opscode.com/display/chef/Resources#Resources-User
default[:rails_rvm][:password] = password hash for the user
ironruby, jruby, rbx, ree, 1.8.7, 1.9.2, 1.9.3
default[:rails_rvm][:rvm_version] = version of ruby to be installed.
default[:rails_rvm][:rails_version] = version of rails to be installed.
Usage
This recipe can be used by other recipes/applications and the default rails_rvm attributes can be overriden. I will post locomotive_cms recipe as an example soon.
Dependent cookbooks
rvm >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.0 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.0 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.0 failed this metric
FC009: Resource attribute not recognised: rails_rvm/recipes/default.rb:37
FC064: Ensure issues_url is set in metadata: rails_rvm/metadata.rb:1
FC065: Ensure source_url is set in metadata: rails_rvm/metadata.rb:1
FC066: Ensure chef_version is set in metadata: rails_rvm/metadata.rb:1
FC069: Ensure standardized license defined in metadata: rails_rvm/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 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.0 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.0 failed this metric
0.1.0 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.0 failed this metric
FC009: Resource attribute not recognised: rails_rvm/recipes/default.rb:37
FC064: Ensure issues_url is set in metadata: rails_rvm/metadata.rb:1
FC065: Ensure source_url is set in metadata: rails_rvm/metadata.rb:1
FC066: Ensure chef_version is set in metadata: rails_rvm/metadata.rb:1
FC069: Ensure standardized license defined in metadata: rails_rvm/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 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.0 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.0 failed this metric
FC064: Ensure issues_url is set in metadata: rails_rvm/metadata.rb:1
FC065: Ensure source_url is set in metadata: rails_rvm/metadata.rb:1
FC066: Ensure chef_version is set in metadata: rails_rvm/metadata.rb:1
FC069: Ensure standardized license defined in metadata: rails_rvm/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.0 passed this metric
Testing File Metric
0.1.0 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.0 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.0 failed this metric
0.1.0 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