Strange error in rails - missing helper

后端 未结 17 768
不思量自难忘°
不思量自难忘° 2020-11-30 01:46

I am not sure , but this might be associated with a crashed computer. After restarting (after the crash) I get a missing helper error where the helper name is wrong. Switc

17条回答
  •  孤街浪徒
    2020-11-30 02:32

    I had the same problem, apparently related to dropbox, but not case sensitive as others have suggested.

    Following @Rob's answer, the output of [1] pry(main)>File.expand_path ("./") resulted in:

    /Users/xxxx/dropbox/xxxx
    

    and the output of ]$ pwd also resulted in:

    /Users/xxxx/dropbox/xxxx
    

    Following @Beengie's instructions, from my Users root directory, I did:

    mv Dropbox Dropbox1
    mv Dropbox1 Dropbox
    

    This solves the problem for me -- until I reboot, at which point I have to perform the operation again. I'm still looking for a permanent fix.

提交回复
热议问题