【问题标题】:How to install Ruby 1.8.7 on OS X 10.8 Mountain Lion [closed]如何在 OS X 10.8 Mountain Lion 上安装 Ruby 1.8.7 [关闭]
【发布时间】:2012-10-18 09:05:32
【问题描述】:

我一直在寻找最好的方法来做到这一点,并找到了一种比同时安装 tcl 和 tk 更简单的方法。

【问题讨论】:

    标签: ruby osx-mountain-lion homebrew ruby-1.8.7


    【解决方案1】:
    # Install homebrew
    ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
    
    # Install command line tools for Xcode -- requires free Apple ID
    http://developer.apple.com/downloads
    
    # Install requirements
    brew update
    brew tap homebrew/dupes
    brew install autoconf automake apple-gcc42 rbenv ruby-build
    
    # rbenv method
    CONFIGURE_OPTS="--without-tcl --without-tk" rbenv install 1.8.7-p370
    
    # rvm method
    rvm install 1.8.7 --without-tcl --without-tk
    

    【讨论】:

      猜你喜欢
      • 2013-06-17
      • 2012-10-15
      • 1970-01-01
      • 1970-01-01
      • 2012-12-07
      • 1970-01-01
      • 2013-09-24
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多