fix examplesdir, try2
use ruby version macro for libruby.so.1.9
rubygems_dir macro is path where rubygems is installed