我正在尝试在我的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'.
答案 0 :(得分:0)
尝试:
rvm install jruby --disable-binary
如果您发现任何更多细节,请打开RVM的票证=> https://github.com/wayneeseguin/rvm/issues/