Skip to content

Instantly share code, notes, and snippets.

@bryanwb
Created January 30, 2013 10:26
Show Gist options
  • Save bryanwb/4672266 to your computer and use it in GitHub Desktop.
Save bryanwb/4672266 to your computer and use it in GitHub Desktop.
chef-rvm example
user 'tk'
include_recipe "rvm::user_install"
node.set['rvm']['user_installs'] = [
{
:user => 'tk',
:install_rubies => true,
:default_ruby => '1.9.3',
:rubies => [ '1.9.3' ]
}
]
node.set['rvm']['user_gems'] = {
'tk' => [
{ :name => 'bundler' },
{ :name => 'sinatra' },
{ :name => 'pry' },
{ :name => 'pry-doc' },
{ :name => 'pry-nav' }
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment