Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
set PATH=%PATH%;D:\7zip
mkdir bin
cd bin
curl -L -O http://dl.bintray.com/oneclick/rubyinstaller/ruby-2.1.3-i386-mingw32.7z
7za x ruby-2.1.3-i386-mingw32.7z
rm -f ruby-2.1.3-i386-mingw32.7z
mv ruby-2.1.3-i386-mingw32 ruby21
cd ruby21
set PATH=%PATH%;D:\home\site\wwwroot\bin\ruby21\bin
mkdir devkit
cd devkit
curl -L -O http://cdn.rubyinstaller.org/archives/devkits/DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe
7za x DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe
rm -f DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe
ruby dk.rb init
echo - D:\home\site\wwwroot\bin\ruby21 >> config.yml
ruby dk.rb install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.