Updated the Gemfile and database.yml file after finally installing activerecord gem