Updating rubygems error
If you’re getting started with Rails, or want an easier way to get started building your applications, see the Rails Apps example applications and tutorials. , the book Learn Ruby on Rails, and recommendations for a Rails tutorial. The Rails Apps project provides example applications that developers use as starter apps.Hundreds of developers use the apps, report problems as they arise, and propose solutions. you must recompile ruby with openssl support or change the sources in your gemfile from 'https' to 'http'.Rails changes frequently; each application is known to work and serves as your personal “reference implementation.” Each application is accompanied by a tutorial so there is no mystery code. Please accept our invitation to join the Rails Apps project. instructions for compiling with openssl using rvm are available at rvm.io/packages/openssl.
Note that you have a separate Rubygems installation for each Ruby version in your RVM or rbenv setup. If you are using Ruby 1.8.7 you cannot use the latest version of Rubygems.
I got to learn that this was because of Apple's System Integrity Protection (SIP) feature.
It protects certain processes and directories even from the root user or users in the sudoers list.
To address this problem, we recommend the following steps: If you see no exceptions returned, then it's working.
If you're still having problems after performing these steps, we are here to help you troubleshoot your configuration.
For problems with Windows or Ubuntu, see the end of the article.