vagrant-dnsmasq icon indicating copy to clipboard operation
vagrant-dnsmasq copied to clipboard

vagrant up aborted after installing this plugin

Open yellowmamba opened this issue 9 years ago • 0 comments

I installed this plugin and vagrant up, it won't proceed with the following error:

➜  Projects  vagrant up
/opt/vagrant/embedded/gems/gems/bundler-1.10.5/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find little-plugger-1.1.4 in any of the sources (Bundler::GemNotFound)
    from /opt/vagrant/embedded/gems/gems/bundler-1.10.5/lib/bundler/spec_set.rb:85:in `map!'
    from /opt/vagrant/embedded/gems/gems/bundler-1.10.5/lib/bundler/spec_set.rb:85:in `materialize'
    from /opt/vagrant/embedded/gems/gems/bundler-1.10.5/lib/bundler/definition.rb:140:in `specs'
    from /opt/vagrant/embedded/gems/gems/bundler-1.10.5/lib/bundler/definition.rb:185:in `specs_for'
    from /opt/vagrant/embedded/gems/gems/bundler-1.10.5/lib/bundler/definition.rb:174:in `requested_specs'
    from /opt/vagrant/embedded/gems/gems/bundler-1.10.5/lib/bundler/environment.rb:18:in `requested_specs'
    from /opt/vagrant/embedded/gems/gems/bundler-1.10.5/lib/bundler/runtime.rb:13:in `setup'
    from /opt/vagrant/embedded/gems/gems/bundler-1.10.5/lib/bundler.rb:127:in `setup'
    from /opt/vagrant/embedded/gems/gems/bundler-1.10.5/lib/bundler/setup.rb:18:in `<top (required)>'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
Bringing machine 'default' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

Dnsmasq configuration:
* file '/etc/dnsmasq.conf' does not exist

Any ideas please?

FYI, my Vagrantfile as follows:

Vagrant.configure(2) do |config|

  config.vm.box = "ubuntu/trusty64"

  username = `whoami`.strip

  config.dnsmasq.domain = '.' + username + '.dev'

  brew_prefix = `brew --prefix`.strip
  config.dnsmasq.dnsmasqconf = brew_prefix + '/etc/dnsmasq.conf'

  config.dnsmasq.reload_command = 'sudo launchctl unload /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist; sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist'

  config.vm.network "forwarded_port", guest: 80, host: 8080

  config.vm.provision :shell, path: "bootstrap.sh"

  config.vm.provision :shell, path: "vhosts.sh", :args => username
end

yellowmamba avatar Oct 22 '15 05:10 yellowmamba