update Gemfile and Configured the Database