We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2474c8d + ae9f359 commit 2cc3775Copy full SHA for 2cc3775
openvox.gemspec
@@ -3,7 +3,7 @@
3
# When we are building the gem from source, we instead look relative to where this gemspec
4
# file lives. This is a little jank, but prevents us from having to update the version in
5
# two different places.
6
-installed_path = '/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/version'
+installed_path = "#{__dir__}/../../../vendor_ruby/puppet/version"
7
version_path = File.exist?("#{installed_path}.rb") ? installed_path : 'lib/puppet/version'
8
require_relative "#{version_path}"
9
0 commit comments