Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default vagrant box needs config tweak before starting #40

Open
xurizaemon opened this issue Dec 3, 2012 · 0 comments
Open

Default vagrant box needs config tweak before starting #40

xurizaemon opened this issue Dec 3, 2012 · 0 comments

Comments

@xurizaemon
Copy link

I cloned this repo, and it downloaded .box but then failed to boot. The error was,

/path/to/inaturalist/Vagrantfile:9:in `block in <top (required)>': private method `system' called for #<Vagrant::Config::VMConfig:0x007fc73c1c9890> (NoMethodError)
from ~/.rvm/gems/ruby-1.9.2-p290/gems/vagrant-1.0.4/lib/vagrant/config/loader.rb:83:in `call'
from ~/.rvm/gems/ruby-1.9.2-p290/gems/vagrant-1.0.4/lib/vagrant/config/loader.rb:83:in `block (2 levels) in load'
from ~/.rvm/gems/ruby-1.9.2-p290/gems/vagrant-1.0.4/lib/vagrant/config/loader.rb:79:in `each'
from ~/.rvm/gems/ruby-1.9.2-p290/gems/vagrant-1.0.4/lib/vagrant/config/loader.rb:79:in `block in load'
from ~/.rvm/gems/ruby-1.9.2-p290/gems/vagrant-1.0.4/lib/vagrant/config/loader.rb:76:in `each'
from ~/.rvm/gems/ruby-1.9.2-p290/gems/vagrant-1.0.4/lib/vagrant/config/loader.rb:76:in `load'
from ~/.rvm/gems/ruby-1.9.2-p290/gems/vagrant-1.0.4/lib/vagrant/environment.rb:387:in `block in load_config!'
from ~/.rvm/gems/ruby-1.9.2-p290/gems/vagrant-1.0.4/lib/vagrant/environment.rb:392:in `call'
from ~/.rvm/gems/ruby-1.9.2-p290/gems/vagrant-1.0.4/lib/vagrant/environment.rb:392:in `load_config!'
from ~/.rvm/gems/ruby-1.9.2-p290/gems/vagrant-1.0.4/lib/vagrant/environment.rb:327:in `load!'
from ~/.rvm/gems/ruby-1.9.2-p290/gems/vagrant-1.0.4/bin/vagrant:40:in `<top (required)>'
from ~/.rvm/gems/ruby-1.9.2-p290/bin/vagrant:19:in `load'
from ~/.rvm/gems/ruby-1.9.2-p290/bin/vagrant:19:in `<main>'

The Vagrantfile refers to http://puppetlabs.s3.amazonaws.com/pub/squeeze64.box

Once that box is downloaded, the file ~/.vagrant.d/boxes/puppet-squeeze-64/include/_Vagrantfile contains this line -

  config.vm.system = :debian

If you're not running an old version of Vagrant, you need to replace that line with

config.vm.guest = :debian

This isn't strictly an issue in iNaturalist, but I suspect it may affect people starting development on Vagrant with this branch of iNaturalist, so I'm filing it here :)

Maybe someone who is familiar with iNaturalist could try some other base boxes and update the Vagrantfile to use an updated base box?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant