Fix database.yml symlink
Make Travis CI downgrade Rubygems for Ruby 1.8