Setting the GEM_PATH after ruby is started is not reliable enough. In some cases rubygems would have already loaded and ignore these settings. Fixes #14048
Setting the GEM_PATH after ruby is started is not reliable enough. In some cases rubygems would have already loaded and ignore these settings. Fixes #14048