Having Trouble Installing Ruby with RVM

I'm trying to install Ruby-1.9.2-head on a Mac running OS X 10.6.8 and Xcode 3.2.5. Whenever I run the command "rvm install ruby-1.9.2-head", I get an error during the "#configuring" part. The configure.log file says:

./configure --prefix=/Users/me/.rvm/rubies/ruby-1.9.2-head --enable-shared --disable-install-doc --with-libyaml-dir=/Users/me/.rvm/usr configure: error: cannot run /bin/sh tool/config.sub

I've tried completely removing rvm and then re-installing the stable version (1.10.0) according to the instructions on Wayne's RVM homepage to no avail. Also, I do already have the 1.8.7 version of Ruby (which came with the machine) still installed.

I was successful in installing rvm and Ruby on two other machines that are also running OS X 10.6.8 but they were running Xcode 3.2.6. Do I perhaps need to upgrade Xcode?

Thanks.


rvm notes says you just need Xcode Tools Version 3.2.1 (1613) or later to install rvm.

I can remember I had to install the latest XCode version since my Lion upgrade to install ruby 1.9.2. Although you running OS X 10.6.8 and not Lion, there should be a new XCode version for you to download.

链接地址: http://www.djcxy.com/p/59200.html

上一篇: C编译器错误与狮子和新安装/更新的XCode

下一篇: 在使用RVM安装Ruby时遇到问题