added adapter for postgresql in database.yml
set ruby v to 2.1.2