Rvm install ruby ​​1.9.3: missing required packages

I am trying to switch from Ruby 1.8 to 1.9.3 via RVM:

rvm install 1.9.3 

But every time I have a warning:

 Missing required packages: autoconf, automake, libtool, pkg-config, libyaml, readline, libxml2, libxslt, libksba, openssl, curl-ca-bundle, sqlite. 

I tried using

 rvm pkg install libyaml 

but nothing is better. Every time I have this warning, and this prevents me from installing rails 3 (missing libyaml and openssl). Has anyone already decided this? Thank you for your help.

I am running Mac OS X 10.8.2

+6
source share
2 answers

Try to run

 rvm requirements 

And then:

 brew install autoconf automake libtool pkg-config apple-gcc42 libyaml readline libxml2 libxslt libksba openssl sqlite 

If you still have problems, you can check it out - click here

+11
source

This is new functionality for RVM 1.19, we will work on improving messages, and now just try:

 rvm get head rvm install 1.9.3 --autolibs=3 
+5
source

All Articles