Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
part_of_role.rb
override_attributes(
"rvm" => {
"gems" =>
{
"ruby-1.9.2-p290-passenger" =>
[
{"name" => "ohai"},
{"name" => "chef"},
{
"name" => "passenger",
"version" => "3.0.12"
}
]
},
"rubies" => ["ruby-1.9.2-p290 --passenger"],
"default_ruby" => "ruby-1.9.2-p290-passenger"
}
)
rvm_ruby_version = node['rvm']['default_ruby']
passenger_version = ''
node['rvm']['gems'][rvm_ruby_version].each {|g| passenger_version = g['version'] if g['name'] == 'passenger'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.