【问题标题】:Error after deploying JRuby WAR file using apache tomcat?? why?使用 apache tomcat 部署 JRuby WAR 文件后出错??为什么?
【发布时间】:2016-06-08 02:21:55
【问题描述】:

We have created WAR file in JRuby and deployed on Apache tomcat, But when i run Apache tomcat, i saw above image as a error messaage

我收到错误:

忽略 bcrypt-3.1.10,因为它的扩展未构建。试试: gem pristine bcrypt --version 3.1.10 忽略 binding_of_caller-0.7.3.pre1 因为它的扩展没有构建。尝试: gem pristine binding_of_caller --version 0.7.3.pre1 忽略 binding_of_caller-0.7.2,因为它的扩展没有构建。试试: gem pristine binding_of_caller --version 0.7.2 您没有指定希望 Rails 如何报告开发环境的弃用通知,请将 config.active_support.deprecation 设置为 :log at config/environments/development.rb /home/bvc-10/tomcat/webapps/sk/WEB-INF/gems/gems/actionpack-3.2.11/lib/action_dispatch/http/mime_type.rb:102 警告:已初始化常量 PDF

【问题讨论】:

    标签: java tomcat jruby warbler


    【解决方案1】:

    如果您取消设置环境变量以指向任何 gem 主位置(unset GEM_HOMEunset GEM_PATH),这些似乎是您应该能够安全忽略的警告

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-06-28
      • 2015-05-08
      • 2011-03-23
      • 1970-01-01
      • 2012-12-16
      • 2013-11-24
      • 2014-04-19
      相关资源
      最近更新 更多