Try a ruby script to export the variables to ENV.