Knife-Zero doesn't include Berkshelf support, so vendoring everything in the repo is convenient again
		
			
				
	
	
		
			54 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| # Poise-Ruby-Build Cookbook
 | ||
| 
 | ||
| [](https://travis-ci.org/poise/poise-ruby-build)
 | ||
| [](https://rubygems.org/gems/poise-ruby-build)
 | ||
| [](https://supermarket.chef.io/cookbooks/poise-ruby-build)
 | ||
| [](https://codecov.io/github/poise/poise-ruby-build)
 | ||
| [](https://gemnasium.com/poise/poise-ruby-build)
 | ||
| [](https://www.apache.org/licenses/LICENSE-2.0)
 | ||
| 
 | ||
| A [ruby-build](https://github.com/sstephenson/ruby-build) provider for the
 | ||
| [poise-ruby cookbook](https://github.com/poise/poise-ruby).
 | ||
| 
 | ||
| ## Provider
 | ||
| 
 | ||
| The `ruby_build` provider uses [ruby-build](https://github.com/sstephenson/ruby-build)
 | ||
| to compile and install Ruby.
 | ||
| 
 | ||
| ```ruby
 | ||
| ruby_runtime 'myapp' do
 | ||
|   provider :ruby_build
 | ||
|   version '2.1'
 | ||
| end
 | ||
| ```
 | ||
| 
 | ||
| ### Options
 | ||
| 
 | ||
| * `install_doc` – Install documentation with Ruby. *(default: false)*
 | ||
| * `install_repo` – Git URI to clone to install ruby-build. *(default: https://github.com/sstephenson/ruby-build.git)*
 | ||
| * `install_rev` – Git revision to clone to install ruby-build. *(default: master)*
 | ||
| * `prefix` – Base path for install ruby-build and rubies. *(default: /opt/ruby_build)*
 | ||
| * `version` – Override the Ruby version.
 | ||
| 
 | ||
| ## Sponsors
 | ||
| 
 | ||
| Development sponsored by [Bloomberg](http://www.bloomberg.com/company/technology/).
 | ||
| 
 | ||
| The Poise test server infrastructure is sponsored by [Rackspace](https://rackspace.com/).
 | ||
| 
 | ||
| ## License
 | ||
| 
 | ||
| Copyright 2015-2017, Noah Kantrowitz
 | ||
| 
 | ||
| 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.
 |