"No Available Formula for Gcc46" While Installing Ruby 1.9.3 on Os X with Rvm:

No available formula for gcc46 while installing Ruby 1.9.3 on OS X with RVM:

Ruby 1.9.3+ supports compiling with Clang (which you do have) instead of GCC, so make RVM compile with Clang instead:

rvm install 1.9.3 --with-gcc=clang

Trouble Installing Ruby 1.9.3 on Mac OSX 10.9.4

Error: No available formula for gcc46

Try:

rvm install 1.9.3 --with-gcc=clang

Or install xcode:

xcode-select --install

Error installing Ruby in Yosemite

Thanks @JanStrnádek for the answer. I solved all the dependencies from left to right and installed gcc using the below command and tried installing ruby again. It worked.

brew install homebrew/versions/gcc48

Completing install of ruby 1.9.3 with Ruby for for Mac OS X 10.7.5 Leopard, Xcode 4.5.2 -- problems with rvm pkg install openssl

in Xcode you need to install command line tools, but ... easier way is to install osx-gcc-installer, it includes all the required libraries, compiler and is just one package

error while installing new version of ruby using RVM

If you are using Ubuntu update your package repository (optional- ignore if already did).

sudo apt-get update

then run

sudo apt-get -y install build-essential openssl libreadline6 libreadline6-dev zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion

I hope that helpful.



Related Topics



Leave a reply



Submit