Forum: Ruby building ruby on ubuntu 14.04

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Joel VanderWerf (Guest)
on 2014-04-20 21:01
(Received via mailing list)
If you're running into the readline compile problem on ubuntu 14.04,
this is one fix:

Download the readline.patch file from this gist (click on "raw" and
download that link).

Go into your ruby-2.1.1 dir. Type this:

patch -p0 <path/to/the/readline.patch

I had to delete the last hunk from the patch file for it to work. (The
last hunk is only comments.)
Michel (Guest)
on 2014-04-23 14:28
(Received via mailing list)
Joel, thanks for information.

I ran into this problem, but the patch command didn't work, seemed to
loop, even after deleting the last hunk.

I had to edit manually the readline.c and extconf.rb file like the patch
should have do it and then I was able to build ruby 2.1.1.

This topic is locked and can not be replied to.