chrisroberts / vagabond

Advocating idleness and work-shyness
Other
233 stars 25 forks source link

cannot load such file -- chef/knife/core/ui #10

Closed ismell closed 11 years ago

ismell commented 11 years ago

I have the following in my Gemfile

source 'https://rubygems.org'

gem 'chef'
gem 'vagabond'
gem 'berkshelf'

When i try and run vagabond I get

me@slagathor:~/Projects/chef-repo$ vagabond help
/home/me/.rvm/gems/ruby-1.9.3-p392@cws-chef/gems/vagabond-0.2.0/lib/vagabond/vagabond.rb:2:in `require': cannot load such file -- chef/knife/core/ui (LoadError)
    from /home/me/.rvm/gems/ruby-1.9.3-p392@cws-chef/gems/vagabond-0.2.0/lib/vagabond/vagabond.rb:2:in `<top (required)>'
    from /home/me/.rvm/gems/ruby-1.9.3-p392@cws-chef/gems/vagabond-0.2.0/bin/vagabond:24:in `require'
    from /home/me/.rvm/gems/ruby-1.9.3-p392@cws-chef/gems/vagabond-0.2.0/bin/vagabond:24:in `<top (required)>'
    from /home/me/.rvm/gems/ruby-1.9.3-p392@cws-chef/bin/vagabond:19:in `load'
    from /home/me/.rvm/gems/ruby-1.9.3-p392@cws-chef/bin/vagabond:19:in `<main>'
    from /home/me/.rvm/gems/ruby-1.9.3-p392@cws-chef/bin/ruby_noexec_wrapper:14:in `eval'
    from /home/me/.rvm/gems/ruby-1.9.3-p392@cws-chef/bin/ruby_noexec_wrapper:14:in `<main>'
chrisroberts commented 11 years ago

what version of chef is in your bundle?

ismell commented 11 years ago

Here is the Gemfile.lock

It's using 0.8.10

GEM
  remote: https://rubygems.org/
  specs:
    activesupport (3.2.13)
      i18n (= 0.6.1)
      multi_json (~> 1.0)
    addressable (2.3.4)
    akami (1.2.0)
      gyoku (>= 0.4.0)
      nokogiri (>= 1.4.0)
    berkshelf (1.4.4)
      activesupport (>= 3.2.0)
      addressable
      celluloid (>= 0.14.0)
      chozo (>= 0.6.1)
      faraday (>= 0.8.5)
      hashie (>= 2.0.2)
      json (>= 1.5.0)
      minitar
      mixlib-config (~> 1.1)
      mixlib-shellout (~> 1.1)
      multi_json (~> 1.5)
      retryable
      ridley (~> 0.12.1)
      solve (>= 0.4.2)
      thor (~> 0.18.0)
      yajl-ruby
    builder (3.2.0)
    bunny (0.8.0)
    celluloid (0.14.0)
      timers (>= 1.0.0)
    chef (0.8.10)
      bunny (>= 0.6.0)
      erubis
      extlib
      json
      mixlib-authentication (>= 1.1.0)
      mixlib-cli (>= 1.1.0)
      mixlib-config (>= 1.1.0)
      mixlib-log (>= 1.1.0)
      moneta
      ohai (>= 0.5.0)
    chozo (0.6.1)
      activesupport (>= 3.2.0)
      hashie (>= 2.0.2)
      multi_json (>= 1.3.0)
    coderay (1.0.9)
    erubis (2.7.0)
    extlib (0.9.16)
    faraday (0.8.7)
      multipart-post (~> 1.1)
    ffi (1.8.1)
    gssapi (1.0.3)
      ffi (>= 1.0.1)
    gyoku (1.0.0)
      builder (>= 2.1.2)
    hashie (2.0.5)
    highline (1.6.19)
    httpclient (2.2.0.2)
    httpi (0.9.7)
      rack
    i18n (0.6.1)
    ipaddress (0.8.0)
    json (1.8.0)
    librarian (0.1.0)
      highline
      thor (~> 0.15)
    little-plugger (1.1.3)
    logging (1.6.2)
      little-plugger (>= 1.1.3)
    method_source (0.8.1)
    minitar (0.5.4)
    mixlib-authentication (1.3.0)
      mixlib-log
    mixlib-cli (1.3.0)
    mixlib-config (1.1.2)
    mixlib-log (1.6.0)
    mixlib-shellout (1.1.0)
    moneta (0.7.16)
    multi_json (1.7.4)
    multipart-post (1.2.0)
    net-http-persistent (2.8)
    net-scp (1.1.1)
      net-ssh (>= 2.6.5)
    net-ssh (2.6.7)
    nokogiri (1.5.9)
    nori (1.1.5)
    ohai (6.16.0)
      ipaddress
      mixlib-cli
      mixlib-config
      mixlib-log
      mixlib-shellout
      systemu
      yajl-ruby
    pry (0.9.12.2)
      coderay (~> 1.0.5)
      method_source (~> 0.8)
      slop (~> 3.4)
    rack (1.5.2)
    retryable (1.3.3)
    ridley (0.12.3)
      addressable
      celluloid (~> 0.14.0)
      chozo (>= 0.6.0)
      erubis
      faraday (>= 0.8.4)
      mixlib-authentication (>= 1.3.0)
      mixlib-config (>= 1.1.0)
      mixlib-log (>= 1.3.0)
      mixlib-shellout (>= 1.1.0)
      net-http-persistent (>= 2.8)
      net-ssh
      retryable
      solve (>= 0.4.4)
      winrm (~> 1.1.0)
    rubyntlm (0.1.1)
    safe_yaml (0.9.2)
    savon (0.9.5)
      akami (~> 1.0)
      builder (>= 2.1.2)
      gyoku (>= 0.4.0)
      httpi (~> 0.9)
      nokogiri (>= 1.4.0)
      nori (~> 1.0)
      wasabi (~> 1.0)
    slop (3.4.5)
    solve (0.4.4)
      json
    systemu (2.5.2)
    test-kitchen (1.0.0.alpha.0)
      celluloid
      mixlib-shellout
      net-scp
      net-ssh
      pry
      safe_yaml
      thor
    thor (0.18.1)
    timers (1.1.0)
    uuidtools (2.1.4)
    vagabond (0.2.0)
      chef
      librarian
      test-kitchen (= 1.0.0.alpha.0)
      thor
    wasabi (1.0.0)
      nokogiri (>= 1.4.0)
    winrm (1.1.2)
      gssapi (~> 1.0.0)
      httpclient (~> 2.2.0.2)
      logging (~> 1.6.1)
      nokogiri (~> 1.5.0)
      rubyntlm (~> 0.1.1)
      savon (= 0.9.5)
      uuidtools (~> 2.1.2)
    yajl-ruby (1.1.0)

PLATFORMS
  ruby

DEPENDENCIES
  berkshelf
  vagabond
ismell commented 11 years ago

I don't know why I was using such an old version...