Skip to content

Commit e36eddc

Browse files
committed
Merge pull request rails#64 from mahipal/add-vmware-fusion-support
Add support for VMWare Fusion.
2 parents 13f8ff1 + df15e90 commit e36eddc

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This project automates the setup of a development environment for working on Rub
88

99
## Requirements
1010

11-
* [VirtualBox](https://www.virtualbox.org)
11+
* [VirtualBox](https://www.virtualbox.org) or [VMWare Fusion](http://www.vmware.com/products/fusion)
1212

1313
* [Vagrant 1.1+](http://vagrantup.com) (not a Ruby gem)
1414

@@ -22,6 +22,8 @@ Building the virtual machine is this easy:
2222

2323
That's it.
2424

25+
(If you want to use VMWare Fusion instead of VirtualBox, write `vagrant up --provider=vmware_fusion` instead of `vagrant up` when building the VM for the first time. After that, Vagrant will remember your provider choice, and you won't need to include the `provider` flag again.)
26+
2527
If the base box is not present that command fetches it first. The setup itself takes about 3 minutes in my MacBook Air. After the installation has finished, you can access the virtual machine with
2628

2729
host $ vagrant ssh

Vagrantfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ Vagrant.configure('2') do |config|
33
config.vm.box_url = 'http://files.vagrantup.com/precise32.box'
44
config.vm.hostname = 'rails-dev-box'
55

6+
config.vm.provider 'vmware_fusion' do |v, override|
7+
override.vm.box = 'precise64'
8+
override.vm.box_url = 'http://files.vagrantup.com/precise64_vmware.box'
9+
end
10+
611
config.vm.network :forwarded_port, guest: 3000, host: 3000
712

813
config.vm.provision :puppet do |puppet|

0 commit comments

Comments
 (0)