updated gem dependencies for use with rails4