Fix pryrc to be compatible with new ruby and rails.