Skip to content

Instantly share code, notes, and snippets.

@tknv
Created October 13, 2016 01:10
Show Gist options
  • Save tknv/17be483080d3314ac20974b0493f071a to your computer and use it in GitHub Desktop.
Save tknv/17be483080d3314ac20974b0493f071a to your computer and use it in GitHub Desktop.
set path
@ECHO OFF
REM Add GRADLE_BIN to the PATH
SET GRADLE_BIN=C:\gradle-3.1\bin
SET PATH=%GRADLE_BIN%;%PATH%
ECHO %GRADLE_BIN%
REM Add NODE_BIN to the PATH
SET NODE_BIN=C:\node-v6.7.0-win-x64
SET PATH=%NODE_BIN%;%PATH%
ECHO %NODE_BIN%
REM Add PYTHON to the PATH
SET PYTHON=C:\Python27\;C:\Python27\Scripts\
SET PATH=%PYTHON%;%PATH%
ECHO %PYTHON%
REM Display Python version
python -V
REM Add RUBY_BIN to the PATH
REM RUBY_BIN takes higher priority to avoid other tools
REM conflict with our own (mainly the DevKit)
SET RUBY_BIN=C:\Ruby22-x64\bin
SET PATH=%RUBY_BIN%;%PATH%
ECHO %RUBY_BIN%
SET RUBY_BIN=
REM Display Ruby version
ruby.exe -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment