Updates to the gem file and rails