Enable the use of the gem with rails 4.