Dirty attempt at fixing RubyCAS errors