1、在ruby官方上面提示在macbook中安装ruby可以执行这样一句话:% port install rubyy 2、但是要执行这个的前提是你已经安装了macport了,但是可恶的是你要安装macport的话要先安装mac上面的 xcode才能安装macport 3、所以你应该先下载xcode_3.2.4_and_ios_sdk_4.1.dmg然后安装之后,去http://www./下载跟你mac系统一样的版本,我的机器mac版本是Snow Leopard 所以我下来了Snow Leopard 相关的版本MacPorts-1.9.2.pkg 4、接下来就可以安装ruby了 5、切换到root权限,然后执行 port install ruby
Html代码
|
|