diff --git a/inspec-bin/Gemfile b/inspec-bin/Gemfile index a8174fc5d..4ec425ac2 100644 --- a/inspec-bin/Gemfile +++ b/inspec-bin/Gemfile @@ -1,2 +1,7 @@ source "https://rubygems.org" -gemspec name: "inspec-bin" +main_gemspec = File.expand_path("../inspec-bin.gemspec", __FILE__) +if File.exist?(main_gemspec) + gemspec name: "inspec-bin" +else + gemspec name: "inspec-core-bin" +end