add encoding to db and ruby version to Gemfile