Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • rake is just one of many Ruby gems available. But it looks like your rbenv is somehow broken. It really shouldn't be trying to load gems from outside its environment. Commented Feb 7, 2021 at 20:24
  • @MichaelHampton Capistrano is the one creating the rake command; should it be using an rbenv shim instead of what it's currently doing?
    – afarley
    Commented Feb 7, 2021 at 20:35
  • Calling rbenv directly should be fine. If the rbenv environment itself isn't trashed. You may want to recreate it. But it's been many years since I've had to work with capistrano or Ruby environments so you're about at the end of what I vaguely remember. Commented Feb 7, 2021 at 22:09