Ok, so the solution works, but it adds the packages to the local path, which is not ideal. The better solution (which I've just discovered works equally well), is just to run 'bundle install' without the 'sudo'. Will submit another PR with those instructions.