Vagrant/Otto Malformed version: 1.7.4/lib/vagrant/pre-rubygems.rb:31 -


this errors happened me on mac environment when using command otto dev otto (successor of vagrant, nothing android), think error happen people using vagrant.

the error:

$ otto dev error building dev environment: malformed version: 1.7.4/lib/vagrant/pre-rubygems.rb:31

not sure, otto or ruby may not show complete error message, complete error message warning found using command bellow:

$vagrant --version /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/pre-rubygems.rb:31: warning: insecure world writable dir /usr/local/bin in path, mode 040777 vagrant 1.7.4

attention on part dir: writable dir /usr/local/bin

solution

to fix, use: sudo chmod go-w /usr/local/bin

but, again, me @ least, more similar errors appeared, difference dir changed, /usr/local, /usr/local/bit/bin, /usr/local/git have used chmod above on dirs , otto dev works!


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -