Move RUBY_FREE_AT_EXIT check earlier
Things that exit early, like ruby -v, could not use RUBY_FREE_AT_EXIT because the check for RUBY_FREE_AT_EXIT was not executed.
ruby -v
Move RUBY_FREE_AT_EXIT check earlier
Things that exit early, like
ruby -v, could not use RUBY_FREE_AT_EXITbecause the check for RUBY_FREE_AT_EXIT was not executed.