I'm new to Vagrant and my aim is to install Varying Vagrant Vagrants. I was following the steps mentioned in VVV's GitHub page but I'm stuck up when installing vagrant-hostupdater mentioned in step 4.
I'm getting the following error when I tried to install the vagrant-hostupdater plugin.
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Users\Daniel>vagrant plugin install vagrant-hostupdater
Installing the 'vagrant-hostupdater' plugin. This can take a few minutes...
Bundler, the underlying system Vagrant uses to install plugins,
reported an error. The error is shown below. These errors are usually
caused by misconfigured plugin installations or transient network
issues. The error from Bundler is:
Could not find gem 'vagrant-hostupdater (>= 0) x86-mingw32' in any of the gem so
urces listed in your Gemfile or available on this machine.
Warning: this Gemfile contains multiple primary sources. Using `source` more tha
n once without a block is a security risk, and may result in installing unexpect
ed gems. To resolve this warning, use a block to indicate which gems should come
from the secondary source. To upgrade this warning to an error, run `bundle con
fig disable_multisource true`.
I'm running Windows 8.1 64-bit OS and I installed Virtual Box 5.0 and Vagrant 1.8.1
Has anyone encountered the above issue?
I found a question similar to mine, in stackoverflow. Will the answer mentioned in the specified similar question help in fixing mine?
I have tried it and seen the github page you have shared.
Well, in your case you are making a typo i.e. spelling error:
its not 'vagrant-hostupdater', it's called the 'vagrant-hostsupdater' package, you are missing an 's' in there.
Here is the github page hosting the vagrant-hostsupdater code:
https://github.com/cogitatio/vagrant-hostsupdater
Related
hello there i'm trying to install redmine on windows 10 ,i have tried to install with bitnami and it have error on
installing gems any one will give me a solution on installing redmine
on windows 10. i prefer to use iis web server
,also i have tried "windows web platform installer" with "helicon zoo"
and had error on finding file , and i have tried to install it without
package manager http://coreboarder.com/blog/?p=465 and it failed on
step 4.3 so i skipped but again it failed on step 5.2 when executing
"ruby dk.rb install"
i haven't used ruby ever before am i missing something
thanks in advance
ps , i have added error snapshot in bellow
bitnami
bitnami
bitnami
helicontech.com/zoo/
if you are installing Redmine in your local system which has OS Windows 10, you no need to install all the required set of Softwares separately, you can go and download the Bitnami Redmine here
the download is an installer you can easily install all the software includes Database aswell.
I think this will helps you.
I do not know why you are trying to install redmine the ways you quote usually first check if it is already installed via command prompt and write, gem list.
If not installed, gem install 'redmine' or gem update 'redmine'
I would do a check to see if redmine is actually still an active gem.
Even though I have debase 0.2.2 installed, I am seeing the rake failed message no matter what. I am on a Windows 10 machine. I also have the DEVKIT properly installed with the option 3 selected. I used rubyinstaller-devkit-2.4.4-1-x64 as ruby version on this computer.enter image description here
I wish the log message gave more specific info. I also tried the --pre flag and other posts on the net to no luck...any ideas or recommendations.
See the attached image.
Thanks in advance.
Good Morning,
When attempting to install Python packages using "pip install ", I get the following error:
pip install error 1
The solution posted here works for most packages. Unfortunately, packages like usaddress, which download additional data during the installation process will result in the following error if the whl/tar is installed locally:
pip install error 2
I believe this is due to a firewall issue, so the solution here did not apply in this case, but may be helpful to others.
Any advice would be greatly appreciated.
*edit: I should have also mentioned that I updated my pip version this morning, after the installation failed.
Python version:
Python 3.6.4 | Anaconda, Inc. | (default, Jan 16 2018, 10:22:32) [MSC v.1900 64 bit (AMD64)] on win32
I found a solution. The issued turned out to be that although I downloaded and tried to pip install usaddress, that particular library had a few dependencies that also needed to be installed.
In the "pip install error 2" example from my question, where I tried to install a local copy of usaddress downloaded from pypi.org, you can see a red sentence at the bottom of the screenshot which says, "Could not find a version that satisfies the requirement future>=0.14". It means that I need to also install a package called "future", of version greater than or equal to 0.14. I went on to pypi.org, and was able to download and pip install the future package.
I found that some libraries have many dependencies, so it can take a few minutes to keep downloading and installing dependencies, but it was an effective way to get around the firewall.
I hope this saves somebody else some time!
All of a sudden Vagrant is broken on my machine.
I don't see what might have caused this. It came up with an older version of Virtualbox and Vagrant 1.9.8. I updated both to the current version in hope to get it fixed.
I run
Windows 10 Pro 1709
Virtualbox 5.2.0-118431
Vagrant 2.0.1
I was using a current Ruby installation in parallel but removed it for testing.
For any Vagrant command I get this error:
https://gist.github.com/cfoellmann/b8c50dc386d241d44ed0fca60e7680d1
I have read about issues with the ffi gem but I see no way to fix the bundled components of the vagrant install.
Any pointer into debugging this will be much appreciated.
I've done a fresh install of OS X Yosemite and Vagrant on my Mac some days ago. The problem is, that every time when I try to update all plugins or install a vagrant plugin (vagrant-cachier), I'll get the following error:
An error occurred while installing json (1.8.2), and Bundler cannot continue.
Make sure that `gem install json -v '1.8.2'` succeeds before bundling.
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/opt/vagrant/embedded/bin/ruby extconf.rb
/opt/vagrant/embedded/bin/ruby: invalid option -H (-h will show valid options) (RuntimeError)
If I install a gem over the system's binary it works. So it seems to be a problem with the built-in vagrant binaries. I've also already installed the command line tools. My Vagrant Version is 1.7.2
I've already googled the problem for hours, but I didn't find this problem.
Did I forget anything or does anybody has a workaround for this problem?
Thanks!
Thanks for your help. I found the problem.
The problem was the path were Vagrant is installed. My SSD partition on OS X is called "Macintosh SSD" with a space in it.
I renamed it to "MacintoshSSD" and now it works fine.
The issue appears to be that the 'embedded' binary of ruby is not happy with some older code in the JSON gem. Or something... I literally know nothing about ruby other than that it is a programming language and I installed it to use compass. And now here it is again with Vagrant.
ANYWAY I moved the embedded ruby to the side, and copied OS X's built-in ruby into the vagrant embedded binaries folder.
Something like:
sudo mv /opt/vagrant/embedded/bin/ruby /opt/vagrant/embedded/bin/ruby.2.0.0.p598
sudo cp /usr/bin/ruby /opt/vagrant/embedded/bin/ruby.2.0.0.p481
sudo ln -s /opt/vagrant/embedded/bin/ruby.2.0.0.p481 /opt/vagrant/embedded/bin/ruby
sudo vagrant plugin install vagrant-vmware-fusion
Installing the 'vagrant-vmware-fusion' plugin. This can take a few minutes...
Installed the plugin 'vagrant-vmware-fusion (3.2.1)'!
Yay.
Straight from HashiCorp... here is the troubleshooting checklist:
Hey there,
I am really sorry you are having problems installing that Vagrant plugin. We are aware of these issues, but we have not been able to narrow it down to a specific cause because it only affects a small subset of machines and we have not identified a common denominator yet.
First, please do not try and install the plugin using sudo. This can tamper with the permissions of other Vagrant plugins and cause Vagrant to error.
Second, please ensure you have the XCode Command Line Tools installed. You can install them by running:
sudo xcode-select --install
and following the on-screen prompt.
After completing those steps, many users have found success by doing the following:
Completely uninstall Vagrant
Removing the /opt/vagrant and /Applications/vagrant directories.
Remove Vagrant's storage directory (~/.vagrant.d). Warning: If you
have installed other Vagrant plugins or Vagrant plugin licenses,
they will be removed!
Reinstall Vagrant from the official Vagrant installers:
https://www.vagrantup.com/downloads.html
Install the plugin
Additionally, please ensure the following:
If there is a special character anywhere in Vagrant's path, you must
choose a different directory. This includes spaces (like in a
username or folder name) and parenthesis (like C:/Program Files
(x86)). Unfortunately there is a bug in the language in which Vagrant
is written that prohibits compiling native extensions under these
circumstances.
If you are using a Mac, please make sure you have accepted the XCode
license agreement. In some situations, native extensions will fail to
compile because XCode is prohibiting the installation due to an
unaccepted license agreement. To accept the license agreement, simply
open XCode - you will be prompted if you need to accept the
agreement.
If the problem persists after taking these steps, please provide the output of the plugin installation's debug logs.
Please let me know if you have any questions.
Best,
Seth