2013-02-12 35 views
1

運行rvm重新安裝1.9.3時,我得到以下錯誤,我按照一些建議刪除這些文件和文件夾下面,現在我沒有他們甚至刪除rvm和重新安裝後捲曲,我該怎麼辦?我使用rails安裝程序,我認爲這是整個事情搞砸了。我只想從頭開始。試圖讓rvm工作,但得到錯誤運行

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

嘗試安裝RVM重新安裝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. 

請幫助這個一直走我永遠摸不着頭腦的時候我也獲得這個輸出。

make.log裏

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

檢查的'在/ usr /本地/ RVM /日誌內容/ ruby-1.9.3-p385/yaml/configure.log',如第一條錯誤信息所示。好主意在某處;該文件可能會很大。 – 2013-02-12 06:29:49

回答

1

刪除文件後,還需要開闢新的終端 - 如果它不能幫助 - 重新啓動計算機

+0

我將選擇這個作爲接受的答案,但不是重新啓動我剛剛恢復我的機器,反正我需要。 – 2013-02-13 01:32:27

相關問題