Sha256: 9884e6f05bd965bf9097722645f2bacb321e738f658b744ee18a5c64ab1d3d03
Contents?: true
Size: 691 Bytes
Versions: 1
Compression:
Stored size: 691 Bytes
Contents
if node[:instance_role] == 'vagrant' # Ideally would be group_users, but see https://github.com/RiotGames/rbenv-cookbook/issues/44 # node.override[:rbenv][:group_users] = ['vagrant'] node.override[:rbenv][:user] = 'vagrant' else node.override[:rbenv][:user] = 'jenkins' end include_recipe "rbenv::default" include_recipe "rbenv::ruby_build" include_recipe "rbenv::rbenv_vars" global_ruby = "2.1.0" other_rubies = ["1.9.3-p448", "2.0.0-p353"] rbenv_ruby global_ruby do ruby_version global_ruby global true end other_rubies.each do |version| rbenv_ruby version end other_rubies.push(global_ruby).each do |version| rbenv_gem "bundler" do ruby_version version end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
polytrix-0.0.1 | packer/cookbooks/drg/recipes/ruby.rb |