Ruby Enterprise Edition on Gentoo with newer OpenSSL (>0.9.8i)

Posted by Kenneth Kalmer on April 21, 2009

UPDATE 2009-04022: Ruby Enterprise Edition 20090421 released a couple of hours after the original post. Now includes the OpenSSL patch from Gentoo’s Portage.

UPDATE: The upcoming release of Ruby Enterprise Edition might include the suggested patch, if we get enough +1’s on the list. Test and go vote!

Keeping your gentoo up to date almost means sacrificing Ruby Enterprise Edition because it doesn’t compile against OpenSSL 0.9.8i or later. This isn’t the fault of the Phusion guys, it comes from upstream Ruby.

Gentoo’s portage contains some patches for compiling stock Ruby 1.8.6 with later versions of OpenSSL, backported from Ruby 1.8.7. This patch also applies cleanly to Ruby Enterprise Edition 20090201, and here is how to do it from inside your unpacked Ruby Enterprise Edition tarball.


$ cd source
$ patch -p3 < /usr/portage/dev-lang/ruby/files/ruby-1.8.6-openssl.patch
$ cd ..
$ sudo ./installer

This keeps your OpenSSL library up to date, and keeps Ruby Enterprise Edition happy.

Trackbacks

Use this link to trackback from your own site.

Comments

Leave a response

Comments

  • Tags

    activerecord air amqp analytics audits bash bind capistrano cheat convert couchdb daemon-kit dlz dns elsewhere gentoo gist git hoptoad linux macros mercurial messaging mysql nginx olympics plugins postfix postini powerdns presentations projects quickies rails rake review ruby ruby19 ruote security shoes sitemap ssl svn webby
  • Recent Posts

  • Archives

  • Alltop. Seriously?! I got in?