or Create a profile
21 May, 2017 08:09 AM
Tried to update gem:
Sirenia:$ gem update --system
Fetching: rubygems-update-2.6.12.gem (100%)
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
Er, should I use sudo?
Sirenia:$ sudo gem update --system
ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - /usr/bin/update_rubygems
Thought I need to upgrade as Homebrew was failing to install, update and doctor, all with a missing ruby require. Can anyone shed some light on this please?
on 22 May, 2017 11:33 AM
It looks like you are trying to use the system Ruby (ruby coming with OSX pre installed).
This is not recommended for the exact problem you are seeing. Best is to use RVM or rbenv to manage specific ruby versions for yourself.
I think it's now also possible to install a separate ruby version from bundler, although I have no experience with that.
on 22 May, 2017 04:50 PM
That’s good to know, thanks a lot. I’ll try them out; it will certainly be easier than a Sierra re-install which is what I was considering.
Formatting help /
(switch to plain text)
(switch to Markdown)
You can attach files up to 10MB
If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.
A conversation has been started with the RubyGems.org staff to resolve this discussion.
This discussion is private.
Only you and RubyGems.org support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
You can use Command ⌘ instead of Control ^ on Mac
Powered by Tender™.