ruby version and database setup