Path issues when using Capistrano

I recently started using Capistrano on a personal project, which is hosted on a relatively plain Ubuntu box. Capistrano wouldn’t do much, I kept getting errors about “bundle” not being found. Seems the newer versions of Rails and Capistrano prefix everything with “bundle” so the right Gems etc. are used. Turns out there’s a problem with the path that my …