Skip to content

Commit 8146975

Browse files
committed
Document faster test suites via NFS synced folders
1 parent be7ae8d commit 8146975

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,21 @@ Finally, to completely wipe the virtual machine from the disk **destroying all i
109109

110110
Please check the [Vagrant documentation](http://docs.vagrantup.com/v2/) for more information on Vagrant.
111111

112+
## Faster Rails test suites
113+
114+
If you're using Mac OS X or Linux you can increase the speed of Rails test suites with Vagrant's NFS synced folders.
115+
116+
With a NFS server installed (already installed on Mac OS X), add the following to the Vagrantfile:
117+
118+
config.vm.synced_folder ".", "/vagrant", type: "nfs"
119+
config.vm.network "private_network", ip: "192.168.50.4" # ensure this is available
120+
121+
Then
122+
123+
host $ vagrant up
124+
125+
Please check the Vagrant documentation on [NFS synced folders](http://docs.vagrantup.com/v2/synced-folders/nfs.html) for more information.
126+
112127
## License
113128

114129
Released under the MIT License, Copyright (c) 2012–<i>ω</i> Xavier Noria.

0 commit comments

Comments
 (0)