Verbose Logging

software development with some really amazing hair

16 May 09

08:00 AM MDT

Posted in Programming

Compiling ruby 1.9.1 alongside ruby 1.8.7

I almost threw my laptop out the window figuring this out, but if you want to install ruby 1.9.1 alongside ruby 1.8.7 (whether the prefix is the same or not), you have to give ruby 1.9 a program suffix, but also a baseruby.

So you need something like this:

./configure --prefix=$HOME/local --program-suffix=1.9 --with-baseruby=ruby --enable-pthread
Share/Bookmark

blog comments powered by Disqus