Skip to content

Instantly share code, notes, and snippets.

@fgarcia
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fgarcia/9040558 to your computer and use it in GitHub Desktop.
Save fgarcia/9040558 to your computer and use it in GitHub Desktop.
> chruby system
> /opt/chef/bin/knife bootstrap ulises --sudo -x vagrant -P vagrant -N "target1" -p 3333
Bootstrapping Chef on ulises
ulises /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/mixlib-log-1.4.1/lib/mixlib/log.rb:97:in `level=': Log level must be one of :debug, :info, :warn, :error, or :fatal (ArgumentError)
ulises from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.18.2/lib/chef/application.rb:119:in `configure_logging'
ulises from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.18.2/lib/chef/application/client.rb:239:in `configure_logging'
ulises from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.18.2/lib/chef/application.rb:65:in `reconfigure'
ulises from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.18.2/lib/chef/application/client.rb:194:in `reconfigure'
ulises from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.18.2/lib/chef/application.rb:70:in `run'
ulises from /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.18.2/bin/chef-client:26:in `<top (required)>'
ulises from /usr/bin/chef-client:23:in `load'
ulises from /usr/bin/chef-client:23:in `<main>'
> chruby 2.1.0
> /opt/chef/bin/knife bootstrap ulises --sudo -x vagrant -P vagrant -N "target1" -p 3333
/opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find chef (>= 0) amongst [RedCloth-4.2.9, abstract_type-0.0.7, abstract_type-0.0.6, activemodel-4.0.2, activerecord-4.0.2, activerecord-deprecated_finders-1.0.3, activesupport-4.0.2, adamantium-0.2.0, adamantium-0.1.0, addressable-2.3.5, arel-4.0.2, ast-1.1.0, atomic-1.1.14, atomic-1.1.13, awesome_print-1.2.0, axiom-0.2.0, axiom-0.1.1, axiom-memory-adapter-0.2.0, axiom-memory-adapter-0.0.3, axiom-optimizer-0.1.1, axiom-optimizer-0.1.0, axiom-types-0.1.0, axiom-types-0.0.5, axiom-types-0.0.3, backports-3.5.0, backports-3.4.0, bcrypt-ruby-3.1.2, bigdecimal-1.2.5, bluecloth-2.2.0, bogus-0.1.4, bson-2.2.0, bson-1.9.2, bson_ext-1.9.2, builder-3.2.2, builder-3.1.4, bundle-0.0.1, bundler-1.5.2, capybara-2.2.1, celluloid-0.15.2, chef-zero-1.7.3, childprocess-0.4.0, chunky_png-1.2.9, claide-0.4.0, cliver-0.3.2, cocoapods-0.29.0, cocoapods-core-0.29.0, cocoapods-downloader-0.3.0, cocoapods-try-release-fix-0.1.1, coderay-1.1.0, coercible-1.0.0, colored-1.2, compass-0.12.2, concord-0.1.4, connection_pool-1.2.0, couchbase-1.3.4, couchrest-1.2.0, cucumber-1.3.10, daemons-1.1.9, data_objects-0.10.13, database_cleaner-1.2.0, datamapper-1.2.0, dependor-1.0.1, descendants_tracker-0.0.3, descendants_tracker-0.0.1, diff-lcs-1.2.5, digital_ocean-1.0.1, dm-aggregates-1.2.0, dm-constraints-1.2.0, dm-core-1.2.1, dm-do-adapter-1.2.0, dm-migrations-1.2.0, dm-serializer-1.2.2, dm-sqlite-adapter-1.2.0, dm-timestamps-1.2.0, dm-transactions-1.2.0, dm-types-1.2.2, dm-validations-1.2.0, do_sqlite3-0.10.13, docile-1.1.2, durran-validatable-2.0.1, equalizer-0.0.9, equalizer-0.0.7, erubis-2.7.0, escape-0.0.4, eventmachine-1.0.3, faker-1.2.0, fakeweb-1.3.0, faraday-0.8.9, faraday_middleware-0.9.0, fastercsv-1.5.5, ffi-1.9.3, flay-2.4.0, flog-4.2.0, formatador-0.2.4, foundation-1.0.4, fssm-0.2.10, fuzzy_match-2.0.4, gherkin-2.12.2, guard-2.3.0, guard-rspec-4.2.5, haml-4.0.5, handlebars-0.6.0, handlebars-source-1.3.0, hashie-2.0.5, highline-1.6.20, hitimes-1.2.1, hpricot-0.8.6, html2slim-0.0.4, http_router-0.11.0, i18n-0.6.9, ice_nine-0.11.0, ice_nine-0.9.0, iconv-1.0.4, interception-0.4, ipaddress-0.8.0, json_pure-1.8.1, leshill-will_paginate-2.3.11, libv8-3.16.14.3-x86_64-darwin-13, listen-2.4.0, lumberjack-1.0.4, lunchy-0.7.0, macaddr-1.6.1, mail-2.5.4, markup-0.1.3, memoizable-0.4.0, metaclass-0.0.2, method_source-0.8.2, middleware-0.1.0, mime-types-2.1, mime-types-1.25.1, mini_portile-0.5.2, minitest-5.2.2, mixlib-authentication-1.3.0, mixlib-cli-1.4.0, mixlib-config-2.1.0, mixlib-log-1.6.0, mixlib-shellout-1.3.0, mocha-1.0.0, moneta-0.7.20, moneta-0.6.0, mongo-1.9.2, mongoid-1.0.6, multi_json-1.8.4, multi_test-0.0.3, multipart-post-1.2.0, nap-0.6.0, net-ssh-2.8.0, net-ssh-gateway-1.2.0, net-ssh-multi-1.2.0, nokogiri-1.6.1, nokogiri-1.5.11, ohai-6.20.0, open4-1.3.0, padrino-0.12.0, padrino-0.12.0.rc3, padrino-0.11.4, padrino-admin-0.12.0, padrino-admin-0.12.0.rc3, padrino-admin-0.11.4, padrino-cache-0.12.0, padrino-cache-0.12.0.rc3, padrino-cache-0.11.4, padrino-core-0.12.0, padrino-core-0.12.0.rc3, padrino-core-0.11.4, padrino-gen-0.12.0, padrino-gen-0.12.0.rc3, padrino-gen-0.11.4, padrino-helpers-0.12.0, padrino-helpers-0.12.0.rc3, padrino-helpers-0.11.4, padrino-mailer-0.12.0, padrino-mailer-0.12.0.rc3, padrino-mailer-0.11.4, padrino-warden-0.1.0, parser-2.1.4, plist-3.1.0, poltergeist-1.5.0, polyglot-0.3.3, powder-0.2.0, powerpack-0.0.9, pry-0.9.12.6, pry-0.9.12.5, pry-padrino-0.1.2, pry-rescue-1.3.1, puma-1.6.3, rack-1.5.2, rack-flash3-1.0.5, rack-protection-1.5.2, rack-test-0.6.2, rainbow-2.0.0, rake-10.1.1, rash-0.4.0, rb-fsevent-0.9.4, rb-inotify-0.9.3, rdiscount-2.1.7, rdoc-4.1.1, redcarpet-3.0.0, reek-1.3.6, ref-1.0.5, rest-client-1.6.7, rom-0.1.2, rom-0.1.0, rom-0.0.1, rom-mapper-0.1.1, rom-mapper-0.1.0, rom-relation-0.1.2, rom-relation-0.1.0, rom-session-0.1.1, rom-session-0.1.0, rspec-3.0.0.beta1, rspec-2.14.1, rspec-core-3.0.0.beta1, rspec-core-2.14.7, rspec-expectations-3.0.0.beta1, rspec-expectations-2.14.4, rspec-mocks-3.0.0.beta1, rspec-mocks-2.14.4, rspec-support-3.0.0.beta1, rubocop-0.17.0, ruby-graphviz-1.0.9, ruby2ruby-2.0.7, ruby_parser-3.3.0, rubygems-update-2.2.2, rubyzip-1.1.0, sass-3.2.14, selenium-webdriver-2.39.0, sequel-4.7.0, sexp_processor-4.4.1, simplecov-0.8.2, simplecov-html-0.8.0, sinatra-1.4.4, sinatra-contrib-1.4.2, slim-2.0.2, slop-3.4.7, sqlite3-1.3.8, stringex-2.1.2, stringex-1.5.1, systemu-2.5.2, temple-0.6.7, terminal-notifier-guard-1.5.3, test-unit-2.5.5, textpow-1.3.1, therubyracer-0.12.0, thin-1.6.1, thor-0.18.1, thor-0.17.0, thread_safe-0.1.3, thread_safe-0.1.2, tilt-2.0.0, tilt-1.4.1, timers-2.0.0, timers-1.1.0, tmuxinator-0.6.6, treetop-1.4.15, tugboat-0.2.0, tzinfo-1.1.0, tzinfo-0.3.38, ultraviolet-1.0.1, url_mount-0.2.1, uuid-2.3.7, uuidtools-2.1.4, virtus-1.0.1, virtus-0.5.5, warden-1.2.3, webrat-0.7.3, websocket-1.1.2, websocket-1.0.7, websocket-driver-0.3.2, xcodeproj-0.14.1, xpath-2.0.0, yaji-0.3.5, yajl-ruby-1.2.0, yard-0.8.7.3] (Gem::LoadError)
from /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
from /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems.rb:1231:in `gem'
from /opt/chef/bin/knife:22:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment