1

运行 rvm reinstall 1.9.3 时出现以下错误,我按照一些建议删除了下面的这些文件和文件夹,现在即使在删除 rvm 并使用 curl 重新安装后我也没有它们,我该怎么办?我使用了 rails 安装程序,我认为这就是把整个事情搞砸的原因。我只想从头开始。

rm -rf /opt/sm 
rm /etc/rvmrc
rm /etc/profile.d/sm.sh

我在尝试安装 rvm reinstall 1.9.3 时也得到了这个输出

$ rvm reinstall 1.9.3
Removing /usr/local/rvm/src/ruby-1.9.3-p385...
Removing /usr/local/rvm/rubies/ruby-1.9.3-p385...
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-1.9.3-p385.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
Fetching yaml-0.1.4.tar.gz to /usr/local/rvm/archives
Extracting yaml to /usr/local/rvm/src/yaml-0.1.4
Configuring yaml in /usr/local/rvm/src/yaml-0.1.4.
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=/usr/local/rvm/usr --disable-shared', please read /usr/local/rvm/log/ruby-1.9.3-p385/yaml/configure.log
Compiling yaml in /usr/local/rvm/src/yaml-0.1.4.
Error running 'make', please read /usr/local/rvm/log/ruby-1.9.3-p385/yaml/make.log
Installing Ruby from source to: /usr/local/rvm/rubies/ruby-1.9.3-p385, this may take a while depending on your cpu(s)...
ruby-1.9.3-p385 - #downloading ruby-1.9.3-p385, this may take a while depending on your connection...
ruby-1.9.3-p385 - #extracting ruby-1.9.3-p385 to /usr/local/rvm/src/ruby-1.9.3-p385
ruby-1.9.3-p385 - #extracted to /usr/local/rvm/src/ruby-1.9.3-p385
ruby-1.9.3-p385 - #configuring
Error running 'env LDFLAGS=-L/opt/sm/pkg/active/lib CFLAGS=-I/opt/sm/pkg/active/include CPATH=/opt/sm/pkg/active/include ./configure --disable-install-doc --prefix=/usr/local/rvm/rubies/ruby-1.9.3-p385 --with-opt-dir=/usr/local/rvm/usr --disable-shared', please read /usr/local/rvm/log/ruby-1.9.3-p385/configure.log
There has been an error while running configure. Halting the installation.

请帮助我永远解决这个问题。

制作日志

[2013-02-11 21:27:46] make
make: *** No targets specified and no makefile found.  Stop.
4

1 回答 1

1

删除文件后,您还需要打开新终端 - 如果没有帮助 - 重新启动计算机

于 2013-02-12T07:29:23.550 回答