From 5ec86e9d1b244a6432296922f457b18b1ba6d8ca Mon Sep 17 00:00:00 2001 From: Rob Nelson Date: Thu, 7 Dec 2017 14:17:52 -0500 Subject: [PATCH] Add rgen as a runtime dependency When using puppet-strings with a module that otherwise does not specify rgen in its Gemfile, this error was observed: ``` $ bundle exec puppet strings generate ./manifests/*.pp Error: The 'rgen' gem must be installed in order to use this face. Error: Try 'puppet help strings generate' for usage ``` Adding rgen to the Gemfile allows puppet strings to work, so it seems like a valid runtime dependency. --- puppet-strings.gemspec | 1 + 1 file changed, 1 insertion(+) diff --git a/puppet-strings.gemspec b/puppet-strings.gemspec index 2e8de0c..eb8be88 100644 --- a/puppet-strings.gemspec +++ b/puppet-strings.gemspec @@ -19,5 +19,6 @@ Gem::Specification.new do |s| s.files = `git ls-files`.split("\n") - Dir['.*', '*.gemspec'] s.add_runtime_dependency 'yard', '~> 0.9.5' + s.add_runtime_dependency 'rgen' s.requirements << 'puppet, >= 3.7.0' end