Update Ruby version to Gemfile

Travis log gave a warning about this. Also modified the configuration
file for the databases.