Purge inf-ruby and ruby-compilation modes.