剛買了一臺新的MacBook Pro和IM有麻煩安裝導軌.. 我有紅寶石1.8.7已經安裝了,當我嘗試寫「創業板安裝導軌「我得到:廣東話我的新的Mac OS X Lion的安裝導軌10.7.3
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /Library/Ruby/Gems/1.8 directory.
我也嘗試安裝高版本的紅寶石,它說:
Nirs-MacBook-Pro:~ nirohayon$ rvm install 1.9.3
Fetching yaml-0.1.4.tar.gz to /Users/nirohayon/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/nirohayon/.rvm/src
Configuring yaml in /Users/nirohayon/.rvm/src/yaml-0.1.4.
Error running ' ./configure --prefix="/Users/nirohayon/.rvm/usr" ', please read /Users/nirohayon/.rvm/log/ruby-1.9.3-p125/yaml/configure.log
Compiling yaml in /Users/nirohayon/.rvm/src/yaml-0.1.4.
Error running 'make ', please read /Users/nirohayon/.rvm/log/ruby-1.9.3-p125/yaml/make.log
Database file /Users/nirohayon/.rvm/config/packages does not exist.
Installing Ruby from source to: /Users/nirohayon/.rvm/rubies/ruby-1.9.3-p125, this may take a while depending on your cpu(s)...
ruby-1.9.3-p125 - #fetching
ruby-1.9.3-p125 - #extracted to /Users/nirohayon/.rvm/src/ruby-1.9.3-p125 (already extracted)
ruby-1.9.3-p125 - #configuring
Error running ' ./configure --prefix=/Users/nirohayon/.rvm/rubies/ruby-1.9.3-p125 --enable-shared --disable-install-doc --with-libyaml --with-opt-dir=/Users/nirohayon/.rvm/usr ', please read /Users/nirohayon/.rvm/log/ruby-1.9.3-p125/configure.log
There has been an error while running configure. Halting the installation.
ls: /Users/nirohayon/.rvm/rubies/*/bin/ruby: No such file or directory
請幫幫我,我使用的窗口前,也很新的軌道,所以我不知道我應該指導我的終端的路徑。我需要一步一步的解釋來把鋼軌放在我的Mac上。
非常感謝! 尼爾
你能告訴我怎麼去的命令行工具安裝?我已經下載了xcode。 – JohnBigs 2012-04-17 13:37:07
在XCode的首選項中,進入「下載」部分,然後選擇「組件」,選擇「命令行工具」,然後單擊「安裝」。 – Romain 2012-04-17 13:38:54
和我試圖做的sudo命令,它給了我這個: – JohnBigs 2012-04-17 13:40:04