-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Wrong DevKit PATH in operating_system.rb #817
Comments
Thanks. Let me bring in @luislavena real quick. Luis, do you know if there is a way for me to tell DevKit to be relocatable? or do I need to modify this file during the install process? |
In this context there were two other issues with installing the sahara plugin, the second one might be interesting for you:
|
@mitchellh I suggest you generate a different Dunno where is DevKit in relation to the Vagrant installation, but something like: devkit_path = File.expand_path("../../../../../../../devkit", __FILE__).gsub(File::SEPARATOR, File::ALT_SEPARATOR
ENV["PATH"] = "#{devkit_path};#{ENV["PATH"]}" Just an idea, something like that might work. The template of https://github.com/oneclick/rubyinstaller/blob/master/resources/devkit/dk.rb.erb#L48-63 |
Thanks I'll do that, that is much much easier. Thanks :) |
I think this still persists in Vagrant 1.0.3. Error output:
|
Google persistently says I just need DevKit set up properly. The installer is supposed to do that, right? |
@wizonesolutions hello, did you actually read the two responses from me and @mitchellh ? As you can see from the ticket (which is still open) this hasn't been solved yet. You can workaround this by invoking Please read the responses first and better yet, contribute a patch that fix the issue instead of arguing that Google persistently says I just need DevKit set up properly Dunno what Google has to do with this... 😒 |
@luislavena Sorry for causing confusion. I did read, but not carefully enough, and so I didn't realize that @mitchellh saying he "would do it" + the issue not being closed = not actually done yet. I should have. I appreciate you taking the time to reply. I'm not sure if you want me to explain about Google or why I haven't rolled a patch, and I would rather this comment be more of a thanks than me trying to insist I didn't do anything wrong like is so common on the net. |
@wizonesolutions you can workaround the issue by calling |
Yes I did that yesterday and it worked. Thanks!
|
@luislavena, looking back at this bug, can I modify the batch file and shell file to just modify the PATH to include the DevKit? Because Vagrant subprocesses |
That sounds reasonable. Don't have my computer yo verify. Sorry for top posting. Sent from mobile.
|
Is this fixed in 1.1? Can someone check. |
This problem is not fixed in 1.1 and 1.2. Probably, after installed, Installer execute
|
This is finally, truly, fixed. Will be part of the 1.2.2 installers. Yay! |
I'm using Vagrant 1.0.1 installed using the msi Installer on Windows7 x64.
When I tried to
vagrant gem install sahara
I run into the following error:It turned out that the DevKit PATH entries in
D:\vagrant\embedded\lib\ruby\site_ruby\1.9.1\rubygems\defaults\operating_system.rb
were pointing toC:\\vagrant-temp\\embedded\\...
when it was actually installed inD:\\vagrant\\embedded\\...
After correcting the PATHs in
operating_system.rb
the native extensions were compiled and the sahara gem installed.However, I didn't get the sahara plugin to work -- it seems that the
sandbox
subcommands were not properly registered... :-(The text was updated successfully, but these errors were encountered: