Debian Os中的Vagrant安装

时间:2014-12-10 10:03:10

标签: linux gem debian vagrant virtualbox

我一直在尝试在我的本地机器上安装和设置vagrant,它在debian OS for PHP项目上运行。 如链接https://www.virtualbox.org/wiki/Linux_Downloads中所述,我首先遵循了列出的用于安装Virtual Box的所有设置。安装成功后,我尝试从官方网站下载Vagrant。完成所有安装后,我会在其中创建一个名为website cd的目录并发出命令

Vagrant init

用于流浪汉初始化。但是,vagrant会给我带来以下错误。如何解决这个问题?

Vagrant experienced a version conflict with some installed plugins!
This usually happens if you recently upgraded Vagrant. As part of the
upgrade process, some existing plugins are no longer compatible with
this version of Vagrant. The recommended way to fix this is to remove
your existing plugins and reinstall them one-by-one. To remove all
plugins:

rm -r ~/.vagrant.d/plugins.json ~/.vagrant.d/gems

Note if you have an alternate VAGRANT_HOME environmental variable
set, the folders above will be in that directory rather than your
user's home directory.

The error message is shown below:

Bundler could not find compatible versions for gem "rest-client":
In Gemfile:
vagrant (= 1.7.0) ruby depends on
  rest-client (~> 1.7) ruby

vagrant-share (>= 0) ruby depends on
  rest-client (1.6.8)

0 个答案:

没有答案