fixed some ruby versioning issue and got basic database connection working