vid/bin/irb.cmd

4 lines
124 B
Batchfile

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