Closed feoh closed 9 years ago
The pry
you can run from the shell is irrelevant: it's an executable, not a library.
Like README says, you have to add the dependencies to Gemfile. Does ChefDK have a Gemfile you can edit?
@dgutov This is a Chef project. We don't use Gemfiles and we're not using Bundler. Maybe I was being overly ambitious hoping for Ruby completion in a Chef project.
We don't use Gemfiles and we're not using Bundler.
Are you sure about that? The backtrace you provided contains the word "bundler" many times.
Maybe I was being overly ambitious hoping for Ruby completion in a Chef project.
That may be true as well. I haven't tried doing that myself. As you can see, Chef provides its own embedded Ruby runtime, so that complicates things.
Actually, pry is bundled with ChefDK, so now I'm totally confused :) Thanks a bunch for responding. Guessing this is something environment related and not Robe's fault. Buh, and I'd so hoped to have nice completion for my Chef code :)
Here's the full stack trace:
This is with ChefDK 0.5.1 on OSX.
Maybe emacs is having a hard time with the PATH? I can run 'pry' from a shell or even eshell within emacs.