Ruby on Debian

I love Debian Linux. It’s the cleanest Linux distro and captures the essence of what Linux is all about. That’s why it hurts me when my favorite “apt-get install ruby” gives me version 1.8.5 when I develop using 1.8.6. On top of that, I get funky errors everywhere.

What’s my solution?

Compile everything from the source code and build my own, forget apt-get.

For some reason, Wordpress is crapping out on me when I post with codes, so I put it into a text file and here it is.

rubyondebian.txt

In a nutshell, Debian and distros derived from it has curses and readline issues. Before configuring, compiling, and installing Ruby, I’m installing readline, curses, and zlib from source code. This recipe works for me since my servers are installed this way.

Just drop me a line at *joon at rubyhead dot com* if you’re having any issues with installing the latest and the greatest on your Debian server. Please be warned that I reserve the right to publish your email on this blog if I use the material for blog postings or tutorials.

Comments

Leave a Reply

You must be logged in to post a comment.