小编Rau*_*eja的帖子

Firebase和Google Signin会出现重复的符号错误

duplicate symbol _kServiceInfoFileName in:
/Users/APPLE/Desktop/Justride/Pods/Firebase/Libraries/libFIRCore.a(GmpMeasurement.pb.o)
/Users/APPLE/Desktop/Justride/Pods/Google/Libraries/libGGLCore.a(GmpMeasurement.pb.o)

duplicate symbol _OBJC_CLASS_$_ACPResultData in:
/Users/APPLE/Desktop/Justride/Pods/Firebase/Libraries/libFIRCore.a(GmpMeasurement.pb.o)
/Users/APPLE/Desktop/Justride/Pods/Google/Libraries/libGGLCore.a(GmpMeasurement.pb.o)

duplicate symbol _OBJC_METACLASS_$_ACPResultData in:
/Users/APPLE/Desktop/Justride/Pods/Firebase/Libraries/libFIRCore.a(GmpMeasurement.pb.o)
/Users/APPLE/Desktop/Justride/Pods/Google/Libraries/libGGLCore.a(GmpMeasurement.pb.o)
Run Code Online (Sandbox Code Playgroud)

ld:46个体系结构x86_64的重复符号

xcode objective-c ios firebase google-signin

14
推荐指数
1
解决办法
1107
查看次数

缺少主机链接!请为Rails 4提供:host参数

缺少主机链接!请提供:host参数,设置default_url_options [:host],或将:only_path设置为true

我随机地随机获取此错误,通常重新启动服务器会将问题解决一段时间,然后再次显示.我 config.action_mailer.default_url_options = "localhost:3000"在开发和test.rb文件中添加了.

此外,我已经include Rails.application.routes.url_helpers 在一个模块中使用了访问路由,我读到这可能是我得到这些错误的原因但删除它将使我无法访问路由.
该模块用于datatables gem.

ruby routes ruby-on-rails ruby-on-rails-4

12
推荐指数
4
解决办法
1万
查看次数

耙“资产:预编译”在部署到AWS时失败

我尝试使用Capistrano将Rails应用程序部署到AWS。

运行后,cap production deploy我收到了“ Rake Aborted”消息,其中包含以下跟踪信息:

ExecJS::ProgramError: SyntaxError: Unexpected character '’' (line: 19420, col: 10, pos: 548371)

Error
    at new JS_Parse_Error (<eval>:3623:11948)
    at js_error (<eval>:3623:12167)
    at parse_error (<eval>:3623:14184)
    at Object.next_token [as input] (<eval>:3623:19902)
    at next (<eval>:3623:21852)
    at subscripts (<eval>:3624:1389)
    at expr_atom (<eval>:3623:31205)
    at maybe_unary (<eval>:3624:1752)
    at expr_ops (<eval>:3624:2523)
    at maybe_conditional (<eval>:3624:2615)
new JS_Parse_Error ((execjs):3623:11948)
js_error ((execjs):3623:12167)
parse_error ((execjs):3623:14184)
Object.next_token [as input] ((execjs):3623:19902)
next ((execjs):3623:21852)
subscripts ((execjs):3624:1389)
expr_atom ((execjs):3623:31205)
maybe_unary ((execjs):3624:1752)
expr_ops ((execjs):3624:2523)
maybe_conditional ((execjs):3624:2615)
/Users/apple/.rvm/gems/ruby-2.3.3/gems/execjs-2.7.0/lib/execjs/ruby_racer_runtime.rb:47:in `rescue in block …
Run Code Online (Sandbox Code Playgroud)

ruby-on-rails amazon-web-services ruby-on-rails-5

1
推荐指数
1
解决办法
331
查看次数