How do I install ruby gems on Mac

后端 未结 5 1082
灰色年华
灰色年华 2021-01-30 01:38

How do I install RubyGems on my Mac?

I tried to run $ gem install rubygems-update with no luck . It returns

ERROR:  While executing gem ...          


        
5条回答
  •  孤独总比滥情好
    2021-01-30 02:14

    You may have to install manually in which case (as per the official website):

    1. Go to the official website and download the zip file
    2. Unzip the file in a directory.
    3. Then go to the directory in your terminal and run: ruby setup.rb

提交回复
热议问题