-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot load puppet_blacksmith on fresh module #503
Labels
Comments
The suggested fix for this specific error given on Slack was Hope this helps. |
Given that the fix was PDK-specific, this seems like an actual issue with PDK rather than my configuration. |
This is fixed by #507 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Bug
When I create a new module and run
pdk bundle exec rake -T
I get an error that it cannot loadpuppet_blacksmith/rake_tasks
. Other commands that internally userake
are also broken in the same way, e.g.pdk test unit
.I haven’t spent much time working with Ruby in recent years, so this may be some sort of misconfiguration on my system. I have puppet-blacksmith 6.1.1 installed in Ruby 3.1.2 (I’m using rbenv), but I don’t think
pdk
uses that installation at all — it reports it’s using Ruby 2.7.7 which I do not have installed in rbenv.It does not appear that puppet-blacksmith is installed in PDK’s Ruby:
Expected Behavior
Standard commands run without error on a fresh install.
Steps to Reproduce
Environment
The text was updated successfully, but these errors were encountered: