mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
e5306d04d4
A CLI to facilitate easy, unified development workflows for Puppet modules. The Puppet Development Kit (PDK) includes key Puppet code development and testing tools for Linux, Windows, and OS X workstations, so you can install one package with the tools you need to create and validate new modules. PDK includes testing tools, a complete module skeleton, and command line tools to help you create, validate, and run tests on Puppet modules. PDK also includes all dependencies needed for its use. Feedback and OK jeremy@
22 lines
750 B
Plaintext
22 lines
750 B
Plaintext
Index: lib/pdk/cli/exec.rb
|
|
--- lib/pdk/cli/exec.rb.orig
|
|
+++ lib/pdk/cli/exec.rb
|
|
@@ -39,7 +39,7 @@ module PDK
|
|
end
|
|
|
|
def self.bundle(*args)
|
|
- ensure_bin_present!(bundle_bin, 'bundler')
|
|
+ ensure_bin_present!(bundle_bin, 'bundler${GEM_BIN_SUFFIX}')
|
|
|
|
execute(bundle_bin, *args)
|
|
end
|
|
@@ -47,7 +47,7 @@ module PDK
|
|
def self.bundle_bin
|
|
require 'pdk/util/ruby_version'
|
|
|
|
- bundle_bin = Gem.win_platform? ? 'bundle.bat' : 'bundle'
|
|
+ bundle_bin = Gem.win_platform? ? 'bundle.bat' : 'bundle${GEM_BIN_SUFFIX}'
|
|
vendored_bin_path = File.join('private', 'ruby', PDK::Util::RubyVersion.active_ruby_version, 'bin', bundle_bin)
|
|
|
|
try_vendored_bin(vendored_bin_path, bundle_bin)
|