我不确定,但这可能与崩溃的计算机有关.重新启动后(崩溃后)我得到一个错误的助手错误,其中助手名称错误.切换分支对结果没有影响.
错误是:
缺少帮助文件助手// users/xxxx/sites/xxxx/app/helpers/accounts_helper.rb_helper.rb
香港专业教育学院尝试更新宝石,卸载铁轨和重新安装,检查帮助名称和任何帮助包括在内.我还审查了git日志并检查了最近更改的代码.没运气.
Started GET "/" for 127.0.0.1 at 2015-01-09 17:53:57 -0700
ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
AbstractController::Helpers::MissingHelperError - Missing helper file helpers//users/xxxx/sites/xxxx/app/helpers/accounts_helper.rb_helper.rb:
actionpack (4.2.0) lib/abstract_controller/helpers.rb:151:in `rescue in block in modules_for_helpers'
actionpack (4.2.0) lib/abstract_controller/helpers.rb:148:in `block in modules_for_helpers'
actionpack (4.2.0) lib/abstract_controller/helpers.rb:144:in `modules_for_helpers'
actionpack (4.2.0) lib/action_controller/metal/helpers.rb:93:in `modules_for_helpers'
actionpack (4.2.0) lib/abstract_controller/helpers.rb:108:in `helper'
actionpack (4.2.0) lib/action_controller/railties/helpers.rb:17:in `inherited'
app/controllers/application_controller.rb:1:in `<top (required)>'
activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file'
activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in'
activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file'
activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load'
activesupport …Run Code Online (Sandbox Code Playgroud) 安装 pod 时无法读取LICENSE规范的许可文件,GoogleDataTransport (3.2.0)这导致在尝试构建时找不到 GoogleDataTransport。
早些时候它起作用了,但是在我将项目上传到驱动器并从我的 Windows 计算机上推送到 git 后,我在另一台 Mac 中克隆了 repo 并尝试了。这就是发生这种情况的原因。
我尝试过清理 pod、重新安装更新、删除 podloc、pod 目录和 .xcworkspace。他们都没有工作。我什至从另一个复制 LICENSE 文件并粘贴到 GoogleDataTransport 目录,没有任何效果。