/* */ /* */

2014年4月24日木曜日

Vagrantにberkshelf入れたらエラー吐いた

※調べたらberkshelf自体が今は非推奨らしいのでお気をつけて。
https://sethvargo.com/the-future-of-vagrant-berkshelf/

Vagrantの起動しようとしたら・・・

$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
/Users/user/.vagrant.d/gems/gems/vagrant-berkshelf-1.3.7/lib/berkshelf/vagrant/env.rb:18:in `initialize': undefined method `scope' for #<Vagrant::UI::Colored:0x00000107c07a30> (NoMethodError)
from /Users/user/.vagrant.d/gems/gems/vagrant-berkshelf-1.3.7/lib/berkshelf/vagrant/action.rb:54:in `new'
from /Users/user/.vagrant.d/gems/gems/vagrant-berkshelf-1.3.7/lib/berkshelf/vagrant/action.rb:54:in `block in setup'
from /Users/user/.vagrant.d/gems/gems/vagrant-berkshelf-1.3.7/lib/berkshelf/vagrant/action.rb:53:in `tap'
from /Users/user/.vagrant.d/gems/gems/vagrant-berkshelf-1.3.7/lib/berkshelf/vagrant/action.rb:53:in `setup'
from /Users/user/.vagrant.d/gems/gems/vagrant-berkshelf-1.3.7/lib/berkshelf/vagrant/plugin.rb:15:in `provision'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/runner.rb:45:in `call'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/runner.rb:45:in `block (2 levels) in run'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/runner.rb:44:in `tap'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/runner.rb:44:in `block in run'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/runner.rb:43:in `map'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/runner.rb:43:in `run'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/machine.rb:157:in `action'
from /Applications/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/batch_action.rb:72:in `block (2 levels) in run'
from /Users/kuma/.vagrant.d/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call'

from /Users/kuma/.vagrant.d/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'


何かエラー吐いた。。。
プラグインのberkshelfのバージョンが古い模様。。。
アンインストールして新しいの入れたげる。

$ vagrant plugin uninstall berkshelf
$ vagrant plugin install vagrant-berkshelf --plugin-version=2.0.1


以上!

0 件のコメント:

コメントを投稿