0

jenkins サーバーに 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 に答える