Replaced hardcoded ruby-1.9 version with RUBY_VER variable
The configure.ac contained a hard coded ruby-1.9 as fallback if ruby is not detected. As some distributions ship more recent ruby versions, this is not sufficient to guarantee detection of an installed ruby package.