vvv wordpress - Bundler error whilst trying to install Varying Vagrant Vagrants and Vagrant plug-ins -


i new vagrant, laraval, , varying vagrant vagrants. attempting environment installed , operational. on mac os x 10.11.6.

i following instructions posted here.

step 1 install virtualbox 5.0.x. done that.

step 2 install vagrant 1.8.5. done that.

after installing vagrant pgk file downloaded... created directory @ ~/vagrant. in directory did vagrant init hashicorp/precise64 command. vagrant up.

step 3 install vagrant-hostsupdater plugin vagrant plugin install vagrant-hostsupdater

when try this, following error:

bundler, underlying system vagrant uses install plugins, reported error. error shown below. these errors caused misconfigured plugin installations or transient network issues. error bundler is:

there error while trying write /users/jonathan/.bundle/cache/compact_index/gems.hashicorp.com.443.68db9b3ad4be8461ccdecca2ae96d12a. need grant write permissions path.

warning: gemfile contains multiple primary sources. using source more once without block security risk, , may result in installing unexpected gems. resolve warning, use block indicate gems should come secondary source. upgrade warning error, run bundle config disable_multisource true.

just see if made difference, changed permissions on file 777. same error occurs though.

i error if try install of other plugins mentioned in instructions on vvv site.

i have no idea why occurs, or it.

any suggestions appreciated.

whilst don't know original cause of issue, came light through discussion (in comments) frédéric henri.

for reason permissions on ~/.bundle file had owner set root.

this preventing vagrant plug-ins installing. correct issue changed owner username.

from home folder (cd ~/) use following command, sudo chown -r <username>:staff ~/.bundle

this resolved issue.


Comments