Hi Peter, is the module compatible to the PDK? That is, have you created the module with the PDK, and/or ran `pdk convert`/`pdk update` successfully on it?
If no, please do so before trying to run any other PDK commands in a module. If yes, please capture the full output of the command you're running after adding `--debug`, and - for this specific case - the Gemfile. With that information we'll have a better chance of figuring out what's going on there. Cheers, David On Sat, Jan 26, 2019 at 3:43 PM Peter Berghold <[email protected]> wrote: > When I run "pdk test unit" I get the following error: > pdk (INFO): Using Ruby 2.5.1 > pdk (INFO): Using Puppet 6.0.2 > pdk (FATAL): > /opt/puppetlabs/pdk/private/ruby/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems.rb:289:in > `find_spec_for_exe': can't find gem bundler (>= 0.a) with executable bundle > (Gem::GemNotFoundException) > from > /opt/puppetlabs/pdk/private/ruby/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems.rb:308:in > `activate_bin_path' > from /opt/puppetlabs/pdk/private/ruby/2.5.1/bin/bundle:23:in `<main>' > > pdk (FATAL): Unable to resolve Gemfile dependencies. > > I did a "gem list" and bundler is installed. What is the magic foo that I > can do to make this work? > > > -- > > Peter L. Berghold [email protected] > > h <http://blog.berghold.net>ttp://science-fiction.berghold.net > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/CAArvnv1gacMoibL%3DZm9D_icP%2Bse5WvWsiSFMnp69GF2yzSra%3DQ%40mail.gmail.com > <https://groups.google.com/d/msgid/puppet-users/CAArvnv1gacMoibL%3DZm9D_icP%2Bse5WvWsiSFMnp69GF2yzSra%3DQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Cheers, David https://twitter.com/dev_el_ops -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CALF7fHafxdimbH6KfORRtK3LMRm5zRr8s9cOi_WCd3avYJg93g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
