Rails Windows 停different prefix errors
Rails Windows 下different prefix errors造成原因:Ruby 路径与 项目路径不同(盘符不同)解决办法:1、bundle
Rails Windows 下different prefix errors
造成原因:Ruby 路径与 项目路径不同(盘符不同)
解决办法:
1、
bundle install --path .bundle
2、
Get "Junction.exe", in Windows Vista used to "mklink"
Download http://technet.microsoft.com/en-us/Sysinternals/Bb896768.aspx
Copy Junction.exe to C:\Windows\System32\
Create Simbolic Link
Write into your console "C:\> junction C:\myApp D:\rails_projects\myApp "
Run the myApp
C:\> cd myApp
C:\myApp> rails server
Go to http://localhost:3000/admin