0
我想在我的jenkins服務器上安裝jruby。這就是發生的事情。Jruby安裝rvm給java.lang.UnsatisfiedLinkError
$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'.
mpasis,我試圖做它..它的行爲是一樣的! – AnkitG 2013-03-24 20:31:53
它不能表現相同,'--disable-binary'更改RVM中的路由,而不是僅僅解壓縮二進制文件,它會下載源文件並運行一個'ant'構建版本,但必須有所不同。 – mpapis 2013-03-24 20:45:05
請檢查此http://pastebin.com/aF9Fj8m6 ..我第一次刪除jruby並重新安裝你的方式.. – AnkitG 2013-03-24 20:51:54