Denied Access when installing RubyGems for the first time

Kristen's Avatar

Kristen

02 Sep, 2014 06:02 PM

When running the command gem install rubygems-update I get an error:

Fetching: rubygems-update-2.4.1.gem (100%)
ERROR: While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.

How do obtain write permissions so that I can complete my install?

Thanks!

  1. Support Staff 1 Posted by Evan Phoenix on 10 Sep, 2014 06:15 PM

    Evan Phoenix's Avatar

    You need to run "sudo gem update" since /Library is a system path.

  2. Evan Phoenix closed this discussion on 10 Sep, 2014 06:15 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