0

我正在尝试在我的詹金斯服务器上安装 jruby。这就是正在发生的事情。

 $rvm install jruby
    Searching for binary rubies, this might take some time.
    jruby-1.7.3 - #configure
    jruby-1.7.3 - #download
    jruby-1.7.3 - #validate archive
    jruby-1.7.3 - #extract
    jruby-1.7.3 - #validate binary
    jruby-1.7.3 - #setup
    RubyBasicObject.java:1250:in `setVariableStamped': java.lang.UnsatisfiedLinkError: sun/misc/Unsafe.putOrderedObject(Ljava/lang/Object;JLjava/lang/Object;)V
        from RubyBasicObject.java:1211:in `setVariableInternal'
        from RubyBasicObject.java:1204:in `setVariable'
        from RubyClass.java:265:in `set'
        from RubyBasicObject.java:1371:in `variableTableStore'
        from RubyBasicObject.java:1439:in `setInternalVariable'
        from RubyStruct.java:219:in `newInstance'
        from Ruby.java:1371:in `initCore'
        from Ruby.java:1213:in `bootstrap'
        from Ruby.java:1148:in `init'
        from Ruby.java:286:in `newInstance'
        from Main.java:262:in `internalRun'
        from Main.java:221:in `run'
        from Main.java:201:in `main'
    Saving wrappers to '/srv/jenkins/home/.rvm/bin'.
4

1 回答 1

0

尝试:

rvm install jruby --disable-binary

如果您发现更多详细信息,请打开 RVM 的票 => https://github.com/wayneeseguin/rvm/issues/

于 2013-03-22T22:37:08.757 回答