mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
bundle exec works
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
parent
d448fdcb8d
commit
e404bafd7a
3 changed files with 12 additions and 3 deletions
3
Gemfile
3
Gemfile
|
@ -5,6 +5,9 @@ gem 'inspec', path: '.'
|
|||
|
||||
gem 'ffi', '>= 1.9.14'
|
||||
|
||||
# Include the Chef-branded inspec executable here, as we can't put it in the gem
|
||||
gem 'inspec-bin', path: 'inspec-bin'
|
||||
|
||||
group :omnibus do
|
||||
gem 'rb-readline'
|
||||
gem 'appbundler'
|
||||
|
|
3
inspec-bin/Rakefile
Normal file
3
inspec-bin/Rakefile
Normal file
|
@ -0,0 +1,3 @@
|
|||
# we need to force the install in order to overwrite the binstubs from
|
||||
# old inspec gems.
|
||||
Bundler::GemHelper.install_tasks force: true
|
|
@ -7,6 +7,9 @@
|
|||
Encoding.default_external = Encoding::UTF_8
|
||||
Encoding.default_internal = Encoding::UTF_8
|
||||
|
||||
require_relative '../lib/inspec'
|
||||
require_relative '../lib/inspec/cli'
|
||||
Inspec::InspecCLI.start(ARGV)
|
||||
lib = File.expand_path('../lib', __FILE__)
|
||||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
||||
|
||||
require 'inspec'
|
||||
require 'inspec/cli'
|
||||
Inspec::InspecCLI.start(ARGV)
|
Loading…
Reference in a new issue