update rails 4.1.7, install postgresql, install rspec, factorygirl, databasecleaner