Vagrant cannot install nokogiri-dependent plugins

后端 未结 9 668
迷失自我
迷失自我 2021-01-18 07:05

I\'m trying to install the rackspace plugin for vagrant (1.5.1):

vagrant plugin install vagrant-rackspace

But it complains

9条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-18 07:45

    Vagrant ships with embedded Ruby and isolated gem environment. So installing gems manually to your "normal" gem environment won't help.

    The first issue is that you should never use sudo to run any vagrant command. If possible, please remove ~/.vagrant.d/ or at least chown it recursively back to your own user. You could also try upgrading Vagrant to v1.5.1.

    Then please gist/pastebin the output of vagrant plugin install vagrant-rackspace --debug and ~/.vagrant.d/gems/gems/nokogiri-1.6.1/ext/nokogiri/mkmf.log.

提交回复
热议问题