Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tips to disable NFS on windows platform in your vagrantfile #12

Open
devalnor opened this issue Mar 13, 2013 · 8 comments
Open

Tips to disable NFS on windows platform in your vagrantfile #12

devalnor opened this issue Mar 13, 2013 · 8 comments

Comments

@devalnor
Copy link

config.vm.share_folder "code", "...", "...", :nfs=> (RUBY_PLATFORM =~ /mingw32/).nil?

@mhenke
Copy link
Contributor

mhenke commented Mar 13, 2013

very cool thanks. I still can't get windows to work properly though I am using my fork with other updates https://github.com/mhenke/railo-vagrant/

@mhenke
Copy link
Contributor

mhenke commented Mar 13, 2013

I used billy's and windows worked. must be something i did on my fork

@devalnor
Copy link
Author

Another thing is that many host windows system are still in 32bits.
For a project I switched in Precise32, like that it work on my colleagues's win32 computers. ;)

@mhenke
Copy link
Contributor

mhenke commented Mar 13, 2013

My pull request #11 has this tickets fix in it. Seems my fork is working with windows again too.

@mhenke
Copy link
Contributor

mhenke commented Mar 13, 2013

@devalnor we could add code in the node.js for operating system 32 or 64 or maybe even a ruby check to set poperly

@mhenke
Copy link
Contributor

mhenke commented Mar 13, 2013

['a'].pack('P').length > 4 ? "64Bit" : "32Bit"

@bdcravens
Copy link
Owner

In local projects that I've used this as a basis for, I typically just write Ruby in Vagrantfile - I'll try to backport some of the work I've done to this project

@devalnor
Copy link
Author

I'm not sure that is a good idea to code the operating system dynamically
Better to keep exact system OS setting for same collaboratives projects.
If it goes wrong, you don't have to suspect the OS difference...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants