【问题标题】:LoadError: no such file to load -- openssl/dummyLoadError:没有要加载的文件--openssl/dummy
【发布时间】:2023-03-03 14:42:01
【问题描述】:

我正在尝试运行一个 jruby 应用程序。每当我启动 jruby 脚本时,应用程序都会抛出一个错误,上面写着

LoadError: no such file to load -- openssl/dummy (root) at /home/ubuntu/.rvm/gems/jruby-1.7.3/gems/jruby-openssl-0.8.2/lib/shared/jruby-openssl.rb:15 需要在 org/jruby/RubyKernel.java:1027 (root) 处 /home/ubuntu/.rvm/gems/jruby-1.7.3@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:1 org/jruby/RubyArray.java:1613 中的每个都需要 /home/ubuntu/.rvm/gems/jruby-1.7.3@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:72 org/jruby/RubyArray.java:1613 中的每个都需要 /home/ubuntu/.rvm/gems/jruby-1.7.3@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:70 要求在 /home/ubuntu/.rvm/gems/jruby-1.7.3@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:59 要求在 /home/ubuntu/.rvm/gems/jruby-1.7.3@global/gems/bundler-1.3.5/lib/bundler.rb:132 需要在 org/jruby/RubyKernel.java:1027 需要在 /home/ubuntu/.rvm/rubies/jruby-1.7.3/lib/ruby/shared/rubygems/custom_require.rb:36 (根) 在 /home/ubuntu/apps/autocaller/config/application.rb:13
需要在 org/jruby/RubyKernel.java:1027 需要在 /home/ubuntu/.rvm/rubies/jruby-1.7.3/lib/ruby/shared/rubygems/custom_require.rb:36 (根)在 /home/ubuntu/apps/autocaller/script/autocall.rb:17

jruby 版本是 1.7.3 红宝石版本是 1.9.3p385 我该如何解决这个问题。很多天以来,我一直在努力解决这个问题。请帮帮我

【问题讨论】:

    标签: ruby ubuntu amazon-web-services rubygems jruby


    【解决方案1】:
    Run a bundle update to upgrade jruby-openssl to 0.9.4. 
    

    【讨论】:

    • Code formatting is for code only. Please don't put normal text in it.
    猜你喜欢
    • 2014-01-16
    • 2011-02-23
    • 2013-12-14
    • 2011-12-19
    • 2011-11-30
    • 2016-05-09
    • 2014-04-15
    • 2013-01-31
    相关资源
    最近更新 更多