Revert gem dependencies