Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

rvm install ruby 1.9.3 : Missing required packages

I'm trying to switch from Ruby 1.8 to 1.9.3 through RVM :

rvm install 1.9.3

But everytime I have a warning :

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

I tried with

rvm pkg install libyaml

but nothing better. Everytime I have this warning, and it's preventing me from installing rails 3 (missing libyaml and openssl). Anyone already solved that ? Thanks for your help.

I'm running Mac OS X 10.8.2

like image 506
Fabien Lebas Avatar asked Mar 10 '13 16:03

Fabien Lebas


2 Answers

Try running

rvm requirements

And then:

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

If you still have issues you can check this out - click here

like image 184
mart1nn Avatar answered Oct 19 '22 22:10

mart1nn


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

rvm get head
rvm install 1.9.3 --autolibs=3
like image 30
mpapis Avatar answered Oct 19 '22 22:10

mpapis