Permission denied

LUIS MARIA SAN MARTIN OSTIZ's Avatar

LUIS MARIA SAN MARTIN OSTIZ

02 Mar, 2014 10:09 AM

When I tried to update the gem library I receive the following message:

MacBook-Pro-de-LUIS:testproject luismariasanmartinostiz$ gem update --system
Updating rubygems-update
Fetching: rubygems-update-2.2.2.gem (100%)
ERROR: While executing gem ... (Errno::EACCES)
Permission denied - /Library/Ruby/Gems/2.0.0/cache/rubygems-update-2.2.2.gem

What can I do?

Thanks.

Luis.

  1. Support Staff 2 Posted by Nick Quaranto on 16 Apr, 2014 08:28 PM

    Nick Quaranto's Avatar

    Try running it with sudo.

  2. Nick Quaranto closed this discussion on 16 Apr, 2014 08:28 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac