Skip to content

Commit

Permalink
switch to system wide install
Browse files Browse the repository at this point in the history
  • Loading branch information
jp committed Feb 1, 2014
1 parent 90623a8 commit 5e5b745
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 18 deletions.
25 changes: 9 additions & 16 deletions environments/vagrant-rails.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,16 @@
"chef_type": "environment",
"default_attributes": {},
"override_attributes": {
"ruby_build":{
"upgrade":"sync"
},
"rbenv": {
"user_installs": [
{
"user": "vagrant",
"rubies": [
"2.1.0"
],
"global": "2.1.0",
"gems": {
"2.1.0": [
{
"name": "bundler"
}
]
}
}
]
"rubies":["2.1.0"],
"gems":{
"2.1.0":[
{"name":"bundler"}
]
}
}
}
}
4 changes: 2 additions & 2 deletions roles/ruby.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "Ruby with rbenv",
"run_list": [
"recipe[ruby_build]",
"recipe[rbenv::user_install]",
"recipe[rbenv::user]",
"recipe[rbenv::system_install]",
"recipe[rbenv::system]",
"recipe[rbenv]"
],
"default_attributes": {},
Expand Down

0 comments on commit 5e5b745

Please sign in to comment.