When I execute on osx El Capitan:
sudo gem update --system
I got the error:
Updating rubygems-update
ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - /usr/bin/update_rubygems
rubygems
When I execute on osx El Capitan:
sudo gem update --system
I got the error:
Updating rubygems-update
ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - /usr/bin/update_rubygems
Best Answer
ended up installing ruby via homebrew. Install homebrew first:
http://brew.sh
then execute
after that it worked flawlessly. It has something to do with the native ruby installation.