Comments (6)
- the bundled ruby is the AIO puppet agent ruby, I would not be surprised if that doesn't have readline
- what's your usecase?
from pdk.
It doesn't appear to have readline support compiled in.
/opt/puppetlabs/pdk/private/ruby/2.1.9/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
require': cannot load such file -- readline (LoadError)`
I am trying to install the puppet debugger gem which requires readline support. The puppet-agent ruby has readline built in and works just fine. So the pdk ruby is different.
from pdk.
You are totally right. Investigating this uncovered a few more components that are missing from the pdk packaging. We'll aim to include that in our next release after puppetconf.
I've created https://tickets.puppetlabs.com/browse/PDK-576 to track that.
Meanwhile you could use the pdk gem (instead of the native packaging) and use your system ruby to host it. I haven't had issues with Debian's 2.3 ruby from testing on my workstation for example.
from pdk.
I can't add puppet-debugger in the Gemfile until this is fixed. Responding to earlier private tweet
from pdk.
Another related problem I've stumbled over while playing around with this, is the fact that the vendored rgen in the vendored puppet in puppet-retrospec causes paths with more than 256 characters, which breaks the package build.
from pdk.
This has been fixed in 1.2.1 via puppetlabs/pdk-vanagon@e800c34
from pdk.
Related Issues (20)
- `pdk update` to 2.7.0 fails on could not find compatible gems HOT 12
- facter_implementation missing quotes HOT 1
- PDK Function mocking breaks in version 2.6.1 templates and above HOT 2
- No Documentation on how PDK relates to Gems and the commands needed HOT 1
- Fatal Errors when trying to install missing gems during a pdk convert / validate HOT 1
- `pdk new module foo` fails with wrong number of arguments (given 2, expected 1) HOT 1
- PDK v2.7.0 and PDK 2.7.1 crash trying to run unit tests HOT 4
- Missing build instructions
- Rollback temporary download analysis URLs HOT 1
- pdk 3.0.0.0 puppet 6 support HOT 2
- PDK 2.5.0 when running validate with --parallel for validating large number of pp files kills Bamboo Agent HOT 1
- PDK validate -a replaces legacy facts with wrong format HOT 1
- How to add custom gems to PDK in an Airgapped/Offline environment without functioning rubygems server
- Update documentation and --help output to properly indicate supported puppet gem version format
- pdk convert erroneously adds puppet_litmus HOT 1
- PDK broken on Mac M2 HOT 2
- PDK reports wrong version, 3.1.0, not 3.2.0 HOT 2
- PDK 3.2.0 missing from Puppet 7 EL 7 and 8 repodata HOT 3
- dummy issue
- PDK YAML validate issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdk.