fixed error for gemfile and database yml files