够烦恼的,google下,找到答案了….
Bundle install and the root passwordIf you don’t want to type the root password for every new project a solution is to move the GEM paths in a directory where the user can write, otherwise a simple solution is to make that folders writable by the user.
赋予权限即可解决:
sudo chown your_user /var/lib/gems/1.9.1 -Rv sudo chown your_user /usr/local/bin -Rv