cupertino gems で動作するように ruby 1.9.2 または最新版をインストールしようとしています。
ruby をインストールするために、サードパーティ製ツール (RVM)
をインストールしました。rvm をインストールできますが、ruby をインストールすると、macport エラーが発生します。
既存のstackoverflowの質問を使用して解決しようとしましたが、問題の解決に明確に役立ちません
私が従った手順は次
のとおりです。get.rvm.ioからrvmをインストールしました
以下のコマンドを使用して rvm をアクティブにしました。
$ source ~/.rvm/scripts/rvm
今、次のコマンドを使用してRuby 1.9.2をインストールしようとしています:
$ rvm install 1.9.2
次のエラーで失敗します
*BLR4AUTOMATION2:ruby-1.9.2-p320 admin$ rvm install 2.0.0
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-2.0.0-p247.
Continuing with compilation.
Please read 'rvm help mount' to get more information on binary rubies. Installing requirements for osx, might require sudo password.
Password:
DEBUG: Copying /Users/admin/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
---> Updating MacPorts base sources using rsync rsync: failed to connect to rsync.macports.org:
Connection refused (61) rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-42/rsync/clientserver.c(105) [receiver=2.6.9]
Command failed: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
Exit code: 10
DEBUG: Error synchronizing MacPorts sources: command execution failed
while executing "macports::selfupdate [array get global_options]
base_updated"
Error: /opt/local/bin/port: port selfupdate failed:
Error synchronizing MacPorts sources: command execution failed
Requirements installation failed with status: 1.*
それに関連するいくつかのスレッドをたどろうとしましたが、うまくいきませんでした:
- http://samkhan13.wordpress.com/2012/06/15/make-macports-work-behind-proxy
- tarball やその他のソースを使用して macports を同期する
- Macからmacportsをアンインストールして再インストールしようとしましたが、それも役に立ちません
- cliを使用して最新のxcodeを再インストールします
以下の場所にコンソール ログをアップロードしました
。
同時に、他の mac マシンに ruby をインストールできますが、ビルド マシンにはインストール
できません。
前もって感謝します!!
キシャン