relax dependencies so it can be used with rails4