nwops / puppet-debugger

A interactive live debugger and REPL for the puppet language
https://gitlab.com/puppet-debugger/puppet-debugger
MIT License
121 stars 11 forks source link

Puppet 6 Support #71

Closed jakethedev closed 4 years ago

jakethedev commented 4 years ago

Hi there, just found out about this tool and it looks incredible! I'm working on a stack with puppet 6 and would really like to be able to use it, however right after a fresh install, it throws on startup with the following output:

>> puppet debugger
[redacted sassy ruby message about a world writeable dir]
uninitialized constant PuppetDebugger::Cli
Did you mean?  CGI

>> echo "noooooooooooooooooooo" > /dev/null

Version info: Puppet = 6.12, Ruby = 2.5.1p57, debugger = just installed yesterday via gem install. Additionally I'm running this in WSL (Ubuntu 18 variant) but given a relatively extensive foray into working this way over the past year, I'm pretty confident my setup isn't part of the problem and is (in this case) equivalent to running raw Ubuntu 18

Let me know if there's any additional info I can provide, or if this just isn't on the block for puppet 6 that's cool too - I'm just hopeful and didn't see this in the backlog [so I'm acting on the bit of the readme that says this works through Puppet 5]

nflow commented 4 years ago

hi, i have the same issue:

> /opt/puppetlabs/bin/puppet debugger
uninitialized constant PuppetDebugger::Cli
Did you mean?  CGI
logicminds commented 4 years ago

Install bundler. /opt/puppetlabs/puppet/bin/gem install bundler -N

The next version will include bundler as a dependency. So this is a temporary fix until 0.18.0 is released.

logicminds commented 4 years ago

Version 0.18 is now available with the added bundler as a dependency. @nflow @jakethedev