Changed database gem to postgresql