Permalink
Browse files

Update Vagrant file for latest Vagrant version

  • Loading branch information...
1 parent be8ad01 commit c45f25c88d1abffb6486cf0c2a93d629627e5e41 @jeroenvandijk committed Feb 26, 2011
Showing with 7 additions and 4 deletions.
  1. +7 −4 Vagrantfile
View
11 Vagrantfile
@@ -1,13 +1,16 @@
Vagrant::Config.run do |config|
- config.vm.box = "lucid64 "
+ config.vm.box = "lucid64"
config.vm.box_url = "http://files.vagrantup.com/lucid64.box"
config.vm.customize do |vm|
vm.name = "Rails Test Environment"
- vm.memory_size = 256
+ vm.memory_size = 512
end
+
+ # Set up host only network so we can use nfs
+ config.vm.network("33.33.33.10")
- config.vm.share_folder('rails', 'rails', 'rails')
+ config.vm.share_folder('rails', 'rails', 'rails', :nfs => true)
config.vm.forward_port("ssh", 22, 2222)
@@ -17,7 +20,7 @@ Vagrant::Config.run do |config|
chef.cookbooks_path = "cookbooks"
chef.json.merge!({
- :rubies => %w( ruby-1.8.7-p249 ree ruby-1.9.1-p376 ),
+ :rubies => %w( 1.8.7 jruby),# ree ruby-head rbx-head jruby ironruby maglev-head ),
:mysql => {
:server_root_password => "root"
},

0 comments on commit c45f25c

Please sign in to comment.