mirror of
https://github.com/inspec/inspec
synced 2024-11-27 15:10:44 +00:00
Interpolation
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
parent
8d80c89e56
commit
28f747ebbb
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ module Inspec::Plugin::V2
|
|||
|
||||
def detect_system_plugins
|
||||
# Find the gemspec for inspec
|
||||
inspec_gemspec = Gem::Specification.find_by_name("inspec", "=" + Inspec::VERSION)
|
||||
inspec_gemspec = Gem::Specification.find_by_name("inspec", "=#{Inspec::VERSION}")
|
||||
|
||||
# Make a RequestSet that represents the dependencies of inspec
|
||||
inspec_deps_request_set = Gem::RequestSet.new(*inspec_gemspec.dependencies)
|
||||
|
|
Loading…
Reference in a new issue