我一直在通过 StackOverflow 寻找答案,但在失败三天后我放弃了安装 Ruby。
目前我已经安装:
- 红宝石(股票)
- 虚拟机
- 来自http://railsinstaller.org/的 Ruby 安装程序
我在配置过程中遇到错误。我已经尝试从 SMF 切换到 Homebrew,但这并不好。
这是我得到的错误:
Error running 'env LDFLAGS=-L/opt/sm/pkg/active/lib CFLAGS=-I/opt/sm/pkg/active/include CPATH=/opt/sm/pkg/active/include ./configure --prefix=/Users/Unwired/.rvm/rubies/ruby-1.9.3-p392 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libxml2:/usr/local/opt/libxslt:/usr/local/opt/libksba:/usr/local/opt/openssl:/usr/local/opt/sqlite --disable-install-doc --without-tcl --without-tk --enable-shared',
please read /Users/Unwired/.rvm/log/ruby-1.9.3-p392/1366883126_configure.log
There has been an error while running configure. Halting the installation.
我很高兴开始学习 RoR,但安装它很痛苦。