fixed Gemfile and database.yml