Stewrt Matheson
rails
django
javascript
otherstuff...
Listening to #drapht - #BrothersGrimm and feeling it. Aussie #hiphop taking steps all the time. 2 days ago
Readline requirements with Cent OS 5 and RVM
November 28th, 2011 by

It seems that “rvm requirements” omits to mention the install of ncurses-devel when setting up for ruby installations with readline on Centos 5. Although you can install the readline package and and ruby its self with out getting an error there is a issue with the shared object. You will see this issue the first time you run irb. Ruby will complain that it can’t load readline. This took me the best part of two hours to figure out however it ended up being a missing package. Make sure you…

sudo yum -y install ncurses-devel

before you install ruby. Then you can install ruby compiling it with readline. HTH.