Install rubygems only if ruby version < 1.9
Check if service is listening in acceptance tests