Update gem and db setting
Fix conflict in Gemfile