升级所有宝石后,我现在收到以下错误:
LoadError at /
No such file to load -- /users/mohnstrudel/dropbox (ÐиÑнÑй)/projekte/personal/mosflash/app/helpers/application_helper.rb_helper
错误似乎很明显,因为我的助手看起来像-application_helper。rb,而不是application_helper.rb_helper
如果我将我的所有助手扩展名重命名为rb_helper,我收到的下一个错误是:(模板当然在那里,整个应用程序在更新之前工作)
Missing template store_front/index, application/index with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml, :jbuilder]}. Searched in:
* "/Users/mohnstrudel/Dropbox (ÐиÑнÑиÌ)/Projekte/personal/mosflash/app/views"
我偶然发现了这个问题-
Strange error in rails - missing helper
但重命名文件夹没有帮助。
我的文件路径:
2.2.0 :001 > File.expand_path ("./")
=> "/Users/mohnstrudel/Dropbox (ÐиÑнÑиÌ)/Projekte/personal/mosflash"
MBP-Anton:mosflash mohnstrudel$ pwd
/Users/mohnstrudel/Dropbox/Projekte/personal/mosflash
这是Dropbox引起的问题吗?我使用的是私人账户和公司账户,这就是为什么有括号。然而,使用cd Dropbox/或cd Dropbox(个人)/会导致相同的文件夹。