Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting source of ruby 1.9.3 using rvm

Tags:

ruby

rvm

I installed ruby 1.9.3 on Mountain Lion using:

rvm install 1.9.3

This all worked fine and I can now use ruby 1.9.3. However, in the .rvm/src directory I usually had a folder named ruby-1.9.3p123 which held the source code of my ruby installation. Such a folder doesn't exist any more. I guess rvm installed ruby using some precompiled binaries, but how can I force it to compile from source or at least get me the source code?

like image 720
Erik Avatar asked Dec 26 '22 13:12

Erik


1 Answers

yes RVM tries to install binaries first, it's faster.

for installing source only try:

rvm fetch 1.9.3

for installing ruby from souce:

rvm reinstall 1.9.3 --disable-binary
like image 171
mpapis Avatar answered Jan 13 '23 12:01

mpapis