database gemfile fixing