Reputation: 570
how to install ruby by using rvm i have error when i install ruby 2.0.0 and ruby 1.9.3:
rvm install 2.0.0-p195
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-2.0.0-p195.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Certificates in '/usr/local/etc/openssl/cert.pem' already are up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/sergey-chechaev/.rvm/rubies/ruby-2.0.0-p195, this may take a while depending on your cpu(s)...
ruby-2.0.0-p195 - #downloading ruby-2.0.0-p195, this may take a while depending on your connection...
ruby-2.0.0-p195 - #extracted to /Users/sergey-chechaev/.rvm/src/ruby-2.0.0-p195 (already extracted)
ruby-2.0.0-p195 - #configuring........
Error running './configure --prefix=/Users/sergey-chechaev/.rvm/rubies/ruby-2.0.0-p195 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl --without-tcl --without-tk --enable-shared',
please read /Users/sergey-chechaev/.rvm/log/1385379217_ruby-2.0.0-p195/configure.log
There has been an error while running configure. Halting the installation.
rvm install 1.9.3
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-1.9.3-p484.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Certificates in '/usr/local/etc/openssl/cert.pem' already are up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/sergey-chechaev/.rvm/rubies/ruby-1.9.3-p484, this may take a while depending on your cpu(s)...
ruby-1.9.3-p484 - #downloading ruby-1.9.3-p484, this may take a while depending on your connection...
ruby-1.9.3-p484 - #extracted to /Users/sergey-chechaev/.rvm/src/ruby-1.9.3-p484 (already extracted)
ruby-1.9.3-p484 - #configuring........
Error running './configure --prefix=/Users/sergey-chechaev/.rvm/rubies/ruby-1.9.3-p484 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl --without-tcl --without-tk --enable-shared',
please read /Users/sergey-chechaev/.rvm/log/1385379545_ruby-1.9.3-p484/configure.log
There has been an error while running configure. Halting the installation.
i do not get what happen. I install brew install autoconf automake libtool pkg-config apple-gcc42 libyaml readline libxml2 libxslt libksba openssl sqlite
and xcode
too
Upvotes: 0
Views: 1175
Reputation: 459
You can download only command line tools from here (need registration) and install ruby from rvm.
Upvotes: 3
Reputation: 7043
Download the latest Apple Xcode from the appstore. Open Xcode and install Command Line tools from the preferences. Try running rvm and installing ruby again.
Upvotes: 2