我正在尝试在jruby中添加宝石,但我不断收到错误消息

时间:2019-05-25 07:13:49

标签: fedora ruby

SyntaxError: /usr/share/rubygems/rubygems/core_ext/kernel_warn.rb:15: syntax error, unexpected tLABEL
    module_function define_method(:warn) {|*messages, uplevel: nil|
                                                              ^
  require at org/jruby/RubyKernel.java:1040
   (root) at /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:1
  require at /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54
  require at org/jruby/RubyKernel.java:1040
   (root) at /usr/share/rubygems/rubygems.rb:1395
     load at org/jruby/RubyKernel.java:1059
   (root) at file:/usr/lib/java/jruby/jruby-core.jar!/jruby/kernel19/rubygems.rb:1

0 个答案:

没有答案