Skip to content

Instantly share code, notes, and snippets.

@shibayan
Created September 28, 2014 07:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shibayan/963cff7e434687029f1b to your computer and use it in GitHub Desktop.
Save shibayan/963cff7e434687029f1b to your computer and use it in GitHub Desktop.
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