mitre / inspec_tools

A command-line and ruby API of utilities, converters and tools for creating, converting and processing security baseline formats, results and data
https://inspec-tools.mitre.org/
Other
92 stars 30 forks source link

--version and -v are broken #76

Closed aaronlippold closed 5 years ago

aaronlippold commented 5 years ago
➜  inspec_tools git:(master) inspec_tools -v
Traceback (most recent call last):
        7: from /usr/local/bin/inspec_tools:23:in `<main>'
        6: from /usr/local/bin/inspec_tools:23:in `load'
        5: from /Library/Ruby/Gems/2.6.0/gems/inspec_tools-1.6.0/exe/inspec_tools:12:in `<top (required)>'
        4: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        3: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        2: from /Library/Ruby/Gems/2.6.0/gems/inspec_tools-1.6.0/lib/inspec_tools/cli.rb:9:in `<top (required)>'
        1: from /Library/Ruby/Gems/2.6.0/gems/inspec_tools-1.6.0/lib/inspec_tools/cli.rb:9:in `require_relative'
/Library/Ruby/Gems/2.6.0/gems/inspec_tools-1.6.0/lib/inspec_tools/plugin_cli.rb:239:in `<top (required)>': uninitialized constant VERSION (NameError)
➜  inspec_tools git:(master) inspec_tools --version
Traceback (most recent call last):
        7: from /usr/local/bin/inspec_tools:23:in `<main>'
        6: from /usr/local/bin/inspec_tools:23:in `load'
        5: from /Library/Ruby/Gems/2.6.0/gems/inspec_tools-1.6.0/exe/inspec_tools:12:in `<top (required)>'
        4: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        3: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
        2: from /Library/Ruby/Gems/2.6.0/gems/inspec_tools-1.6.0/lib/inspec_tools/cli.rb:9:in `<top (required)>'
        1: from /Library/Ruby/Gems/2.6.0/gems/inspec_tools-1.6.0/lib/inspec_tools/cli.rb:9:in `require_relative'
/Library/Ruby/Gems/2.6.0/gems/inspec_tools-1.6.0/lib/inspec_tools/plugin_cli.rb:239:in `<top (required)>': uninitialized constant VERSION (NameError)