I am trying to use RVM to install ruby ββon my iMac.
I'll start by entering the following:
rvm list known
Then I focus on the version I want to install (a manual that I follow recommendations 1.9.2 instead of base 1.8.7) with the following line:
rvm install 1.9.2
Then I get the following:
27698AM:~ butler15$ rvm install 1.9.2 Searching for binary rubies, this might take some time. No binary rubies available for: osx/10.7/x86_64/ruby-1.9.2-p320. Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies. Installing requirements for osx, might require sudo password. Password:
I enter my password and I get the following:
DEBUG: Copying /Users/butler15/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: Operation timed out (60) 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
If I understand correctly that he is trying to update MacPorts, but fails due to a proxy (or something?)
I tried following this guide, but it didn't work: http://samkhan13.wordpress.com/2012/06/15/make-macports-work-behind-proxy/
Additional Information:
My current version is RVM and RUBY: http://d.pr/i/H1Eu
My OSX - 10.7.4
Thanks in advance for your help :)
ruby terminal osx-lion rvm
Midgar777 May 13 '13 at 11:25 2013-05-13 11:25
source share