简体   繁体   中英

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

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM