# Buiulding multiple versions of Ruby

**URL:** <https://www.ruby-forum.com/t/buiulding-multiple-versions-of-ruby/163721>\
**Category:** Ruby\
**Created:** [March 24, 2009, 11:29am UTC](https://www.ruby-forum.com/t/buiulding-multiple-versions-of-ruby/163721 "2009-03-24T11:29:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![john\_maclean](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e8c25b/32.png) [@john\_maclean](https://www.ruby-forum.com/u/john_maclean)\
**Post date:** [March 24, 2009, 11:29am UTC](https://www.ruby-forum.com/t/buiulding-multiple-versions-of-ruby/163721/1 "2009-03-24T11:29:32Z")

</div>

This is the way that I build ruby from the latest svn sources. This  
allows me to have multiple versions and to compare the  
performance/behaviour of my builds against the stable version provided  
by my distro.

cd ~/path/to/source  
./configure --prefix=/home/jayeola/installs --program-suffix=191  
make -j2 && make -j2 install

How do you guys do it?

–  
John M.  
07739 171 531  
MSc (DIC)

Timezone: GMT

---

<div class="post-metadata">

**Author:** ![john\_maclean](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e8c25b/32.png) [@john\_maclean](https://www.ruby-forum.com/u/john_maclean)\
**Post date:** [March 24, 2009, 5:10pm UTC](https://www.ruby-forum.com/t/buiulding-multiple-versions-of-ruby/163721/2 "2009-03-24T17:10:49Z")

</div>

john maclean wrote:

> cd ~/path/to/source  
> ./configure --prefix=/home/jayeola/installs --program-suffix=191  
> make -j2 && make -j2 install
> 
> How do you guys do it?

This is correct, except ruby 1.8.6 and 1.8.7 clash, so if you want both  
of those give them a different --prefix
