Skip to content
This repository has been archived by the owner on Dec 26, 2017. It is now read-only.

Error provisioning with 1.3.7 on Ubuntu 14.04 #192

Closed
mikedep333 opened this issue May 8, 2014 · 1 comment
Closed

Error provisioning with 1.3.7 on Ubuntu 14.04 #192

mikedep333 opened this issue May 8, 2014 · 1 comment

Comments

@mikedep333
Copy link

If I uninstall the vagrant-berkshelf plugin, this simple test succeeds.

I am running Ubuntu 14.04 64-bit.

mike@dropship-hv:~/ddh/duckpan-vagrant :( [66] $ vagrant plugin install vagrant-berkshelf
Installing the 'vagrant-berkshelf' plugin. This can take a few minutes...
Installed the plugin 'vagrant-berkshelf (1.3.7)'!
mike@dropship-hv:~/ddh/duckpan-vagrant :) [67] $ cd ..
mike@dropship-hv:~/ddh :) [68] $ cd 
duckpan-vagrant/          vagrant_1.6.0_x86_64.rpm  vagrant-test/             
mike@dropship-hv:~/ddh :) [68] $ sudo rm -r vagrant-test/
mike@dropship-hv:~/ddh :) [69] $ mkdir vagrant-test
mike@dropship-hv:~/ddh :) [70] $ cd vagrant-test/
mike@dropship-hv:~/ddh/vagrant-test :) [71] $ vagrant init hashicorp/precise32
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
mike@dropship-hv:~/ddh/vagrant-test :) [72] $ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
/home/DEPAULO/mike/.vagrant.d/gems/gems/vagrant-berkshelf-1.3.7/lib/berkshelf/vagrant/env.rb:18:in `initialize': undefined method `scope' for #<Vagrant::UI::Colored:0x00000004cfbe90> (NoMethodError)
    from /home/DEPAULO/mike/.vagrant.d/gems/gems/vagrant-berkshelf-1.3.7/lib/berkshelf/vagrant/action.rb:54:in `new'
    from /home/DEPAULO/mike/.vagrant.d/gems/gems/vagrant-berkshelf-1.3.7/lib/berkshelf/vagrant/action.rb:54:in `block in setup'
    from /home/DEPAULO/mike/.vagrant.d/gems/gems/vagrant-berkshelf-1.3.7/lib/berkshelf/vagrant/action.rb:53:in `tap'
    from /home/DEPAULO/mike/.vagrant.d/gems/gems/vagrant-berkshelf-1.3.7/lib/berkshelf/vagrant/action.rb:53:in `setup'
    from /home/DEPAULO/mike/.vagrant.d/gems/gems/vagrant-berkshelf-1.3.7/lib/berkshelf/vagrant/plugin.rb:15:in `provision'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/action/runner.rb:42:in `call'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/action/runner.rb:42:in `block (2 levels) in run'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/action/runner.rb:41:in `tap'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/action/runner.rb:41:in `block in run'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/action/runner.rb:40:in `map'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/action/runner.rb:40:in `run'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/machine.rb:190:in `action_raw'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/machine.rb:167:in `block in action'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/environment.rb:423:in `lock'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/machine.rb:155:in `action'
    from /opt/vagrant/embedded/gems/gems/vagrant-1.6.0/lib/vagrant/batch_action.rb:82:in `block (2 levels) in run'
    from /opt/vagrant/embedded/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call'
    from /opt/vagrant/embedded/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
mike@dropship-hv:~/ddh/vagrant-test :( [73] $ 
@reset
Copy link
Contributor

reset commented May 8, 2014

@mikedep333 you'll need to install the latest version of Vagrant-Berkshelf, you're using an older one. vagrant plugin install --plugin-version 2.0.1.

Due to a bug in bundler/vagrant, you need to explicitly specify the version of the plugin you wish to use.

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

No branches or pull requests

2 participants