Unable to build Ruby 2.1.3 on OSX 10.10 GM 3.0 with rbenv

前端 未结 2 798
天涯浪人
天涯浪人 2021-01-06 00:01

I have found several threads where other users have had similar issues but none of them are seem to be like this.

After issuing the command:

rbenv in         


        
相关标签:
2条回答
  • 2021-01-06 00:14

    The Homebrew package for gcc on Yosemite seems to be broken. That's why it doesn't work.

    Had the same issue. Running:

    CC=/usr/bin/gcc rbenv install 2.1.3
    

    worked for me.

    0 讨论(0)
  • 2021-01-06 00:19

    This has been fixed in ruby-build for rbenv. Please update by the following:

    cd ~/.rbenv/plugins/ruby-build/
    git pull
    
    0 讨论(0)
提交回复
热议问题