Rails Windows 下different prefix errors_Ruby_编程开发_程序员俱乐部

中国优秀的程序员网站程序员频道CXYCLUB技术地图
热搜:
更多>>
 
您所在的位置: 程序员俱乐部 > 编程开发 > Ruby > Rails Windows 下different prefix errors

Rails Windows 下different prefix errors

 2013/10/27 16:57:38  傻傻的聪明鬼  程序员俱乐部  我要评论(0)
  • 摘要:造成原因:Ruby路径与项目路径不同(盘符不同)解决办法:1、bundleinstall--path.bundle2、Get"Junction.exe",inWindowsVistausedto"mklink"Downloadhttp://technet.microsoft.com/en-us/Sysinternals/Bb896768.aspxCopyJunction.exetoC
  • 标签:Windows rails
造成原因:Ruby 路径与 项目路径不同(盘符不同)
解决办法:
1、
class="java">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
发表评论
用户名: 匿名