2012-08-13 133 views
0

RVM一號線安裝程序是給我的問題,即:問題在Ubuntu安裝在RVM

curl -L https://get.rvm.io | bash -s stable --rails 

蔭收到此錯誤:

ERROR: Loading command: install (LoadError) 
    cannot load such file -- zlib 
ERROR: While executing gem ... (NameError) 
    uninitialized constant Gem::Commands::InstallCommand 
+0

此線程必須有幫助。 http://stackoverflow.com/questions/9727908/cannot-load-such-file-zlib-even-after-using-rvm-pkg-install-zlib – Rahul 2012-08-13 10:52:05

回答

2

一個庫丟失。嘗試執行這個第一:

sudo apt-get install zlib1g-dev 

編輯:

在RVM網頁有一個關於這個問題的部分https://rvm.io/packages/zlib/

EDIT(mpapis):

安裝程序命令顯示短屏指令來安裝這個庫,下次在按q之前閱讀它。