GithubHelp home page GithubHelp logo

add in readline support to ruby about pdk HOT 6 CLOSED

puppetlabs avatar puppetlabs commented on September 3, 2024
add in readline support to ruby

from pdk.

Comments (6)

DavidS avatar DavidS commented on September 3, 2024
  1. the bundled ruby is the AIO puppet agent ruby, I would not be surprised if that doesn't have readline
  2. what's your usecase?

from pdk.

logicminds avatar logicminds commented on September 3, 2024

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.

DavidS avatar DavidS commented on September 3, 2024

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.

logicminds avatar logicminds commented on September 3, 2024

I can't add puppet-debugger in the Gemfile until this is fixed. Responding to earlier private tweet

from pdk.

DavidS avatar DavidS commented on September 3, 2024

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.

DavidS avatar DavidS commented on September 3, 2024

This has been fixed in 1.2.1 via puppetlabs/pdk-vanagon@e800c34

from pdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.