rubiojr / knife-esx

@maintux's FORK IS NOW OFFICIAL: https://github.com/maintux/knife-esx
https://github.com/maintux/knife-esx
Apache License 2.0
35 stars 10 forks source link

custom_require.rb:55:in `require': no such file to load -- chef/knife/brightbox_base (LoadError) #1

Closed johntdyer closed 12 years ago

johntdyer commented 12 years ago

gem broke Knife command

Chef: Chef: 0.10.4 Ruby 1.9.2p290 OSX 10.7.2

    *[master][~/Dropbox/Projects/chef]$ knife                                                                                                                                                                                                                  rvm:ruby-1.9.2-p290@global 
ERROR: You need to pass a sub-command (e.g., knife SUB-COMMAND)

Usage: knife sub-command (options)
    -s, --server-url URL             Chef Server URL
    -k, --key KEY                    API Client Key
        --color                      Use colored output
    -c, --config CONFIG              The configuration file to use
        --defaults                   Accept default values for all questions
    -e, --editor EDITOR              Set the editor to use for interactive commands
    -E, --environment ENVIRONMENT    Set the Chef environment
    -F, --format FORMAT              Which format to use for output
        --no-color                   Don't use colors in the output
    -n, --no-editor                  Do not open EDITOR, just accept the data as is
    -u, --user USER                  API Client Username
        --print-after                Show the data after a destructive operation
    -V, --verbose                    More verbose output. Use twice for max verbosity
    -v, --version                    Show chef version
    -y, --yes                        Say yes to all prompts for confirmation
    -h, --help                       Show this message

/Users/jdyer/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require': no such file to load -- chef/knife/brightbox_base (LoadError)
    from /Users/jdyer/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require'
    from /Users/jdyer/.rvm/gems/ruby-1.9.2-p290@global/gems/knife-esx-0.1.0/lib/chef/knife/esx_vm_create.rb:19:in `<top (required)>'
    from /Users/jdyer/.rvm/gems/ruby-1.9.2-p290@global/gems/chef-0.10.4/lib/chef/knife/core/subcommand_loader.rb:37:in `load'
    from /Users/jdyer/.rvm/gems/ruby-1.9.2-p290@global/gems/chef-0.10.4/lib/chef/knife/core/subcommand_loader.rb:37:in `block in load_commands'
    from /Users/jdyer/.rvm/gems/ruby-1.9.2-p290@global/gems/chef-0.10.4/lib/chef/knife/core/subcommand_loader.rb:37:in `each'
    from /Users/jdyer/.rvm/gems/ruby-1.9.2-p290@global/gems/chef-0.10.4/lib/chef/knife/core/subcommand_loader.rb:37:in `load_commands'
    from /Users/jdyer/.rvm/gems/ruby-1.9.2-p290@global/gems/chef-0.10.4/lib/chef/knife.rb:112:in `load_commands'
    from /Users/jdyer/.rvm/gems/ruby-1.9.2-p290@global/gems/chef-0.10.4/lib/chef/knife.rb:132:in `list_commands'
    from /Users/jdyer/.rvm/gems/ruby-1.9.2-p290@global/gems/chef-0.10.4/lib/chef/application/knife.rb:184:in `print_help_and_exit'
    from /Users/jdyer/.rvm/gems/ruby-1.9.2-p290@global/gems/chef-0.10.4/lib/chef/application/knife.rb:148:in `validate_and_parse_options'
    from /Users/jdyer/.rvm/gems/ruby-1.9.2-p290@global/gems/chef-0.10.4/lib/chef/application/knife.rb:126:in `run'
    from /Users/jdyer/.rvm/gems/ruby-1.9.2-p290@global/gems/chef-0.10.4/bin/knife:25:in `<top (required)>'
    from /Users/jdyer/.rvm/gems/ruby-1.9.2-p290@global/bin/knife:19:in `load'
rubiojr commented 12 years ago

Sh*t. Thank you @krumpt. Fixed.

Releasing 0.1.1

Please, clean old versions of the gem when installing.