From: Hans Mackowiak Date: 2011-08-11T16:39:04+09:00 Subject: Re: Supporting both ruby 1.8 and 1.9 in a compiled library the better way: build your *.so twice, one for each version and put the files in the vendor_ruby path so require "yourname" does work for both and you does not need an extra rb file -- Posted via http://www.ruby-forum.com/.