updated gems to work with rails 4