I'm attempting to upgrade the friendly_id gem in a rails project.
I have removed the old gem from the vendor directory, installed the new gem from rubygems.org. When I type:
rake gems:unpack
I get the following response:
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /usr/lib/ruby/gems/1.8 directory.
Sure, I realise I can sudo it, but what I don't understand is if I would like to unpack the gem into my project vender directory, why does it need access to /usr/lib/ruby/gems....