berkshelf / vagrant-berkshelf

A Vagrant plugin to add Berkshelf integration to the Chef provisioners
Other
378 stars 100 forks source link

vagrant up - Uninitialized constant #53

Closed organicveggie closed 10 years ago

organicveggie commented 11 years ago

Just started seeing this:

$ bundle exec vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'Berkshelf-CentOS-6.3-x86_64-minimal'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
Berkshelf::BerksfileReadError: An error occurred while reading the Berksfile: uninitialized constant Chozo::Mixin::ParamsValidate::ValidationFailed

This is with a clean install under RVM with Ruby 1.9.3-p194:

$ rvm gemset create berks

$ rvm gemset use berks

$ gem install chef berkshelf --no-ri --no-rdoc
Fetching: mixlib-config-1.1.2.gem (100%)
Successfully installed mixlib-config-1.1.2
Fetching: mixlib-cli-1.3.0.gem (100%)
Successfully installed mixlib-cli-1.3.0
Fetching: mixlib-log-1.6.0.gem (100%)
Successfully installed mixlib-log-1.6.0
Fetching: mixlib-authentication-1.3.0.gem (100%)
Successfully installed mixlib-authentication-1.3.0
Fetching: mixlib-shellout-1.1.0.gem (100%)
Successfully installed mixlib-shellout-1.1.0
Fetching: ohai-6.16.0.gem (100%)
Successfully installed ohai-6.16.0
Fetching: mime-types-1.23.gem (100%)
Successfully installed mime-types-1.23
Fetching: rest-client-1.6.7.gem (100%)
Successfully installed rest-client-1.6.7
Fetching: json-1.7.7.gem (100%)
Building native extensions.  This could take a while...
Successfully installed json-1.7.7
Fetching: net-ssh-2.6.7.gem (100%)
Successfully installed net-ssh-2.6.7
Fetching: net-ssh-gateway-1.2.0.gem (100%)
Successfully installed net-ssh-gateway-1.2.0
Fetching: net-ssh-multi-1.1.gem (100%)
Successfully installed net-ssh-multi-1.1
Fetching: highline-1.6.19.gem (100%)
Successfully installed highline-1.6.19
Fetching: erubis-2.7.0.gem (100%)
Successfully installed erubis-2.7.0
Fetching: chef-11.4.4.gem (100%)
Successfully installed chef-11.4.4
Fetching: timers-1.1.0.gem (100%)
Successfully installed timers-1.1.0
Fetching: celluloid-0.14.1.gem (100%)
Successfully installed celluloid-0.14.1
Fetching: i18n-0.6.1.gem (100%)
Successfully installed i18n-0.6.1
Fetching: multi_json-1.7.6.gem (100%)
Successfully installed multi_json-1.7.6
Fetching: activesupport-3.2.13.gem (100%)
Successfully installed activesupport-3.2.13
Fetching: multipart-post-1.2.0.gem (100%)
Successfully installed multipart-post-1.2.0
Fetching: faraday-0.8.7.gem (100%)
Successfully installed faraday-0.8.7
Fetching: addressable-2.3.4.gem (100%)
Successfully installed addressable-2.3.4
Fetching: hashie-2.0.5.gem (100%)
Successfully installed hashie-2.0.5
Fetching: chozo-0.6.1.gem (100%)
Successfully installed chozo-0.6.1
Fetching: net-http-persistent-2.8.gem (100%)
Successfully installed net-http-persistent-2.8
Fetching: retryable-1.3.3.gem (100%)
Successfully installed retryable-1.3.3
Fetching: solve-0.4.4.gem (100%)
Successfully installed solve-0.4.4
Fetching: ffi-1.8.1.gem (100%)
Building native extensions.  This could take a while...
Successfully installed ffi-1.8.1
Fetching: gssapi-1.0.3.gem (100%)
Successfully installed gssapi-1.0.3
Fetching: nokogiri-1.5.9.gem (100%)
Building native extensions.  This could take a while...
Successfully installed nokogiri-1.5.9
Fetching: httpclient-2.2.0.2.gem (100%)
Successfully installed httpclient-2.2.0.2
Fetching: rubyntlm-0.1.1.gem (100%)
Successfully installed rubyntlm-0.1.1
Fetching: builder-3.2.2.gem (100%)
Successfully installed builder-3.2.2
Fetching: nori-1.1.5.gem (100%)
Successfully installed nori-1.1.5
Fetching: rack-1.5.2.gem (100%)
Successfully installed rack-1.5.2
Fetching: httpi-0.9.7.gem (100%)
Successfully installed httpi-0.9.7
Fetching: wasabi-1.0.0.gem (100%)
Successfully installed wasabi-1.0.0
Fetching: gyoku-1.0.0.gem (100%)
Successfully installed gyoku-1.0.0
Fetching: akami-1.2.0.gem (100%)
Successfully installed akami-1.2.0
Fetching: savon-0.9.5.gem (100%)
Successfully installed savon-0.9.5
Fetching: little-plugger-1.1.3.gem (100%)
Successfully installed little-plugger-1.1.3
Fetching: logging-1.6.2.gem (100%)
Successfully installed logging-1.6.2
Fetching: winrm-1.1.2.gem (100%)
Successfully installed winrm-1.1.2
Fetching: ridley-0.12.4.gem (100%)
Successfully installed ridley-0.12.4
Fetching: minitar-0.5.4.gem (100%)
Successfully installed minitar-0.5.4
Fetching: thor-0.18.1.gem (100%)
Successfully installed thor-0.18.1
Fetching: berkshelf-1.4.5.gem (100%)
Successfully installed berkshelf-1.4.5
48 gems installed

$ gem install bundler
Fetching: bundler-1.3.5.gem (100%)
Successfully installed bundler-1.3.5
Installing ri documentation for bundler-1.3.5
1 gem installed

$ bundle install
Fetching gem metadata from https://rubygems.org/........
Fetching gem metadata from https://rubygems.org/..
Using i18n (0.6.1) 
Installing multi_json (1.7.2) 
Using activesupport (3.2.13) 
Installing addressable (2.3.3) 
Using timers (1.1.0) 
Installing celluloid (0.13.0) 
Installing hashie (2.0.3) 
Using chozo (0.6.1) 
Using multipart-post (1.2.0) 
Using faraday (0.8.7) 
Using json (1.7.7) 
Using minitar (0.5.4) 
Using mixlib-config (1.1.2) 
Using mixlib-shellout (1.1.0) 
Installing retryable (1.3.2) 
Using erubis (2.7.0) 
Installing mixlib-log (1.4.1) 
Using mixlib-authentication (1.3.0) 
Using net-http-persistent (2.8) 
Installing net-ssh (2.6.6) 
Installing solve (0.4.2) 
Installing ridley (0.9.0) 
Installing thor (0.16.0) 
Using yajl-ruby (1.1.0) 
Installing berkshelf (1.3.1) 
Using bundler (1.3.5) 
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
reset commented 10 years ago

This shouldn't be a problem any longer with Vagrant Berkshelf 2.0.x