Sudo is usually the command that gets me past any permission issues on the server or my Mac.
Today I was working my way through setting up Grunt for a responsive project and I was running into issues with the Compass part of the grunt file.
After some googling I found I needed to update the gems and reinstall compass.
This through permission errors even when prefixing the command with sudeo
sudo gem update --system && gem install compass
After a bit of searching I came across a tip that fixed the problem
access root terminal by typing sudo -s
I’m not sure why, but this worked a treat.