command line tools for new 10.9 OSX for ruby gems?

前端 未结 8 966
[愿得一人]
[愿得一人] 2020-12-02 11:06

After installing OSX Mavericks 10.9 demo, Im getting this after running bundle

    Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native ext         


        
8条回答
  •  余生分开走
    2020-12-02 11:45

    I don't have enough reputation to comment, but Vyke's solution was helpful/required for me. My path to success after updating to mavericks was the following:

    • Install xcode from the appstore (terminal couldn't find it find it on the server)
    • Open xcode and accept the terms
    • Use biobonnie's solution to move the GCC file
    • rvm system
    • rvm get head
    • gem install yourgemname (in my case json)
    • bundle install
    • gem update rake

    ... and then I could get back to updating our jekyll/octopress based website.

提交回复
热议问题