rails Installer之后的调整rails.bat等文件
rails Installer之后的调整rails.bat文件
出现系统找不到指定路径
学习了:http://www.jianshu.com/p/065355a731ee
修改rails.bat为
@ECHO OFF IF NOT "%~f0" == "~f0" GOTO :WinNT ECHO.This version of Ruby has not been built with support for Windows 95/98/Me. GOTO :EOF :WinNT @"%~dp0ruby.exe" "%~dpn0" %*
调整rake.bat文件为
@ECHO OFF IF NOT "%~f0" == "~f0" GOTO :WinNT @"C:\RailsInstaller\Ruby2.3.0\bin\ruby.exe" "C:/RailsInstaller/Ruby2.3.0/bin/rails" %1 %2 %3 %4 %5 %6 %7 %8 %9 GOTO :EOF :WinNT @"C:\RailsInstaller\Ruby2.3.0\bin\ruby.exe" "%~dpn0" %*
后来查看rails.bat也变成这个样子了;
============================
修改bundle.bat文件也成这样;
============================
有几个文件都是这样的问题呀;