Sha256: 70c875ba9f0b4239a620e5d420fea6b6946bd32c44d0ff49468fc836c449d29f

Contents?: true

Size: 807 Bytes

Versions: 8

Compression:

Stored size: 807 Bytes

Contents

IF "%HOMEPATH%"=="" ECHO HOMEPATH is NOT defined. Please set this env value to your home directory before running this script. 
IF "%HOMEPATH%"=="" exit /B

SET BASE_DIR_NAME=%~d0%~p0

SET GEM_HOME=%BASE_DIR_NAME%\gems\ruby\2.7.0
SET GEM_PATH=%BASE_DIR_NAME%\gems\ruby\2.7.0
SET PATH=%BASE_DIR_NAME%\ruby\bin;%BASE_DIR_NAME%\gems\ruby\2.7.0\bin;%PATH%
SET RUBYLIB=%BASE_DIR_NAME%\OpenStudio\Ruby
SET RUBY_DLL_PATH=%BASE_DIR_NAME%\OpenStudio\Ruby

IF EXIST %HOMEPATH%\.env_uo.bat (
  del "%HOMEPATH%\.env_uo.bat"
) 

echo SET "GEM_HOME=%GEM_HOME%">> "%HOMEPATH%\.env_uo.bat"
echo SET "GEM_PATH=%GEM_PATH%">> "%HOMEPATH%\.env_uo.bat"
echo SET "PATH=%PATH%">> "%HOMEPATH%\.env_uo.bat"
echo SET "RUBYLIB=%RUBYLIB%">> "%HOMEPATH%\.env_uo.bat"
echo SET "RUBY_DLL_PATH=%RUBY_DLL_PATH%">> "%HOMEPATH%\.env_uo.bat"

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
urbanopt-cli-0.11.1 scripts/setup-env.bat
urbanopt-cli-0.11.0 scripts/setup-env.bat
urbanopt-cli-0.10.0 scripts/setup-env.bat
urbanopt-cli-0.9.3 scripts/setup-env.bat
urbanopt-cli-0.9.2 scripts/setup-env.bat
urbanopt-cli-0.9.1 scripts/setup-env.bat
urbanopt-cli-0.9.0 scripts/setup-env.bat
urbanopt-cli-0.8.3 scripts/setup-env.bat