reorder Gemfile
fix error in db config