Skip to content

Instantly share code, notes, and snippets.

@kcdragon
Created December 3, 2016 00:58
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 kcdragon/d88c2760aed01d54111d50e17517405a to your computer and use it in GitHub Desktop.
Save kcdragon/d88c2760aed01d54111d50e17517405a to your computer and use it in GitHub Desktop.
Windows RailsInstaller bin/bundle.bat
@ECHO OFF
IF NOT "%~f0" == "~f0" GOTO :WinNT
@"C:\RailsInstaller\Ruby2.2.0\bin\ruby.exe" "C:/RailsInstaller/Ruby2.2.0/bin/bundle" %1 %2 %3 %4 %5 %6 %7 %8 %9
GOTO :EOF
:WinNT
@"C:\RailsInstaller\Ruby2.2.0\bin\ruby.exe" "%~dpn0" %*
@kcdragon
Copy link
Author

kcdragon commented Dec 3, 2016

If you experience the error The system cannot find the path specified after running bundle install, this can replace the contents of C:\RailsInstaller\Ruby2.2.0\bin\bundle.bat.

@kcdragon
Copy link
Author

kcdragon commented Dec 3, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment