2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-04 08:47:37 +08:00

Vagrant now attempts to mount NFS on both Linux and Darwin. Updated documentation accordingly.

This commit is contained in:
Martin Potthast 2013-02-22 16:43:56 +01:00
parent 4d99dc035e
commit ac64be720e
2 changed files with 12 additions and 1 deletions

3
Vagrantfile vendored
View file

@ -25,7 +25,8 @@ Vagrant::Config.run do |config|
config.vm.forward_port 3000, 4000
config.vm.forward_port 1080, 4080 # Mailcatcher
nfs_setting = RUBY_PLATFORM =~ /darwin/ ? true : false
nfs_setting = (RUBY_PLATFORM =~ /darwin/ or
RUBY_PLATFORM =~ /linux/) ? true : false
config.vm.share_folder("v-root", "/vagrant", ".", :nfs => nfs_setting)
chef_cookbooks_path = ["chef/cookbooks"]