summaryrefslogtreecommitdiff
path: root/attributes
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2015-05-22 19:09:54 -0600
committermo khan <mo@mokhan.ca>2015-05-22 19:09:54 -0600
commita12f7086c4761969a9d7775cb883d1aab1e8bfa4 (patch)
tree03753ecb94893fe9f78fa291358ebca223967c5c /attributes
parentd01508f28013c4bb365103a55f2ad31f4940e3df (diff)
install ruby with rbenv and community cookbooks.
Diffstat (limited to 'attributes')
-rw-r--r--attributes/default.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/attributes/default.rb b/attributes/default.rb
index d8d78ce..d996644 100644
--- a/attributes/default.rb
+++ b/attributes/default.rb
@@ -55,7 +55,11 @@ default['unicorn']['username'] = node['user']['username']
default['unicorn']['current_path'] = "#{node['capistrano']['root_path']}/current"
default['unicorn']['rails_env'] = node.chef_environment
default['monit']['application'] = 'app'
-default['rbenv']['ruby_version'] = '2.2.2'
+#default['rbenv']['ruby_version'] = '2.2.2'
+default['rbenv']['rubies'] = [ "2.2.2" ]
+default['rbenv']['plugins'] = [
+ { 'name' => 'rbenv-gem-rehash', 'git_url' => 'https://github.com/sstephenson/rbenv-gem-rehash.git' }
+]
default['aws']['username'] = node['user']['username']
default['aws']['profiles']['default']['region'] = 'us-east-1'
default['aws']['profiles']['default']['aws_access_key_id'] = 'secret'