The system cannot find the path specified when starting Ruby and Rails command prompt

前端 未结 3 1615
余生分开走
余生分开走 2021-01-21 05:44

I just started learning rails a week ago and everything worked until today. Now when I start the Ruby command prompt, it says:

The system cannot find the path s         


        
3条回答
  •  失恋的感觉
    2021-01-21 06:08

    You've probably used "Ansicon" - a program to get the colors in windows prompt right. If you installed it permanently with -i parameter and consequently moved/deleted its directory, it would lead to this error. (I've just experienced it)

    The solution is to renew the location of the ansicon data files or to remove the following registry entry:

    HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun
    

    You can find more on this issue at http://carol-nichols.com/2011/03/17/the-system-cannot-find-the-path-specified/

    Good luck!

提交回复
热议问题