diff --git a/bin/v-bundler.cmd b/bin/v-bundler.cmd new file mode 100644 index 0000000..9f90875 --- /dev/null +++ b/bin/v-bundler.cmd @@ -0,0 +1,4 @@ +@echo off +where bundler >nul 2>nul +if errorlevel 1 call v-gem install bundler +call bundler %* \ No newline at end of file diff --git a/bin/v-choco.cmd b/bin/v-choco.cmd new file mode 100644 index 0000000..beb9dac --- /dev/null +++ b/bin/v-choco.cmd @@ -0,0 +1,4 @@ +@echo off +where choco.exe >nul 2>nul +if errorlevel 1 powershell -c "Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))" +choco.exe %* \ No newline at end of file diff --git a/bin/v-gem.cmd b/bin/v-gem.cmd new file mode 100644 index 0000000..9dcca39 --- /dev/null +++ b/bin/v-gem.cmd @@ -0,0 +1,4 @@ +@echo off +where gem >nul 2>nul +if errorlevel 1 call v-choco install ruby -y & call refreshenv +call gem %* \ No newline at end of file diff --git a/bin/v-ghc.cmd b/bin/v-ghc.cmd new file mode 100644 index 0000000..d97503f --- /dev/null +++ b/bin/v-ghc.cmd @@ -0,0 +1,4 @@ +@echo off +where ghc.exe >nul 2>nul +if errorlevel 1 call v-choco install ghc -y & call refreshenv +ghc %* \ No newline at end of file diff --git a/bin/v-ghci.cmd b/bin/v-ghci.cmd new file mode 100644 index 0000000..4d074bc --- /dev/null +++ b/bin/v-ghci.cmd @@ -0,0 +1,4 @@ +@echo off +where ghci.exe >nul 2>nul +if errorlevel 1 call v-choco install ghc -y & call refreshenv +ghci %* \ No newline at end of file diff --git a/bin/v-irb.cmd b/bin/v-irb.cmd new file mode 100644 index 0000000..6cec506 --- /dev/null +++ b/bin/v-irb.cmd @@ -0,0 +1,4 @@ +@echo off +where irb >nul 2>nul +if errorlevel 1 call v-choco install ruby -y & call refreshenv +irb %* \ No newline at end of file diff --git a/bin/v-node.cmd b/bin/v-node.cmd new file mode 100644 index 0000000..a711a8a --- /dev/null +++ b/bin/v-node.cmd @@ -0,0 +1,4 @@ +@echo off +where npm >nul 2>nul +if errorlevel 1 call v-choco install nodejs -y & call refreshenv +call node %* \ No newline at end of file diff --git a/bin/v-npm.cmd b/bin/v-npm.cmd new file mode 100644 index 0000000..149a44e --- /dev/null +++ b/bin/v-npm.cmd @@ -0,0 +1,4 @@ +@echo off +where npm >nul 2>nul +if errorlevel 1 call v-choco install nodejs -y & call refreshenv +call npm %* \ No newline at end of file diff --git a/bin/v-ruby.cmd b/bin/v-ruby.cmd new file mode 100644 index 0000000..bee2bfe --- /dev/null +++ b/bin/v-ruby.cmd @@ -0,0 +1,4 @@ +@echo off +where ruby.exe >nul 2>nul +if errorlevel 1 call v-choco install ruby -y & call refreshenv +ruby %* \ No newline at end of file diff --git a/bin/v-rubyw.cmd b/bin/v-rubyw.cmd new file mode 100644 index 0000000..eadd68d --- /dev/null +++ b/bin/v-rubyw.cmd @@ -0,0 +1,4 @@ +@echo off +where rubyw >nul 2>nul +if errorlevel 1 call v-choco install ruby -y & call refreshenv +rubyw %* \ No newline at end of file diff --git a/bin/v-runghc.cmd b/bin/v-runghc.cmd new file mode 100644 index 0000000..2656122 --- /dev/null +++ b/bin/v-runghc.cmd @@ -0,0 +1,4 @@ +@echo off +where runghc.exe >nul 2>nul +if errorlevel 1 call v-choco install ghc -y & call refreshenv +runghc %* \ No newline at end of file diff --git a/templates/ruby-sinatra.7z b/templates/ruby-sinatra.7z new file mode 100644 index 0000000..497e86c Binary files /dev/null and b/templates/ruby-sinatra.7z differ