Skip to content

Commit

Permalink
add main recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengjia committed Dec 24, 2011
1 parent 623e769 commit 5fd3e83
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions .vagrant
@@ -0,0 +1 @@
{"active":{"default":"f0baefb8-4061-45bd-8a00-4d3d7cb36411"}}
9 changes: 8 additions & 1 deletion cookbooks/vagrant_main/attributes/default.rb
@@ -1 +1,8 @@
set['rbenv']['rubies'] = [ "1.9.3-p0" ]
set['rbenv']['rubies'] = [ "1.9.3-p0" ]

set['rbenv']['gems'] = {
'1.9.3-p0' => [
{ 'name' => 'rake' },
{ 'name' => 'bundler' }
]
}
6 changes: 4 additions & 2 deletions cookbooks/vagrant_main/recipes/default.rb
@@ -1,5 +1,7 @@
require_recipe 'apt'
require_recipe 'git'
require_recipe "build-essential"
require_recipe "recipe[rbenv::system]"
require_recipe "recipe[ruby_build]"
require_recipe "ruby_build"
require_recipe "rbenv::system"

rbenv_global "1.9.3-p0"

0 comments on commit 5fd3e83

Please sign in to comment.