diff --git a/nodejs.json b/nodejs.json index 38246619b4..b0ed23cb47 100644 --- a/nodejs.json +++ b/nodejs.json @@ -12,11 +12,11 @@ "hash": "2888f2303bcaa35f05b3dce7cbfee58af77dcea6bed4b9ff549b181c65eb4565" } }, - "env_add_path": ["nodejs", "$data_dir"], + "env_add_path": ["nodejs", "$persist_dir"], "persist": "nodejs/node_modules", "post_install": " -# Set npm prefix to install module inside $data_dir -Set-Content -Value \"prefix=$data_dir\" -Path $data_dir\\node_modules\\npm\\npmrc +# Set npm prefix to install module inside $persist_dir +Set-Content -Value \"prefix=$persist_dir\" -Path $persist_dir\\node_modules\\npm\\npmrc npm update -g", "checkver": { "url": "https://nodejs.org/en/download/current/", diff --git a/php.json b/php.json index cd5c0b8493..de1b5d4187 100644 --- a/php.json +++ b/php.json @@ -29,7 +29,7 @@ "php-cgi.exe" ], "env_set": { - "PHP_INI_SCAN_DIR": "$data_dir\\conf" + "PHP_INI_SCAN_DIR": "$persist_dir\\conf" }, "post_install": " #Copy PHP configuration file to expected location diff --git a/ruby.json b/ruby.json index 1dbaef8250..837e691dc6 100644 --- a/ruby.json +++ b/ruby.json @@ -26,10 +26,10 @@ } }, "extract_to": [ "", "devkit" ], - "env_add_path": ["bin", "$data_dir\\gem\\bin"], + "env_add_path": ["bin", "$persist_dir\\gem\\bin"], "env_set": { - "GEM_HOME": "$data_dir\\gem", - "GEM_PATH": "$data_dir\\gem" + "GEM_HOME": "$persist_dir\\gem", + "GEM_PATH": "$persist_dir\\gem" }, "post_install": "pushd $dir\\devkit;echo \"---`n- $dir\" | out-file config.yml -enc default; ruby dk.rb install;popd;", "checkver": {