Update gem file to support rails 4