vid/bin/ruby.cmd

4 lines
125 B
Batchfile

@echo off
where ruby.exe >nul 2>nul
if errorlevel 1 call choco install ruby -y & call %~dp0\v-choco-refreshenv
ruby.exe %*