[
https://issues.jenkins-ci.org/browse/JENKINS-12094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160345#comment-160345
]
Sebastien Tardif commented on JENKINS-12094:
My understanding is that ruby is not even supported in Jenkins, see
https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+plugin+development+in+Ruby
I think the best move is to rewrite it in Groovy. Jenkins is written in Java,
that's kind of shooting it's own foot to use a scripting language too far from
Java.
> ruby-runtime plugin fails to initialize
> ---
>
> Key: JENKINS-12094
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12094
> Project: Jenkins
> Issue Type: Bug
> Components: pathignore, plugin, ruby-runtime
>Affects Versions: current
> Environment: Windows 7 64-bit, Running Jenkins as a Windows Service
>Reporter: Adam Westhusing
>Priority: Critical
>
> I'm actually trying to install another plugin (pathignore) that is dependent
> on the ruby-runtime plugin, and I keep receiving an exception when trying to
> install ruby-runtime (0.6).
> This happens on Windows 7 64-bit, running Jenkins as a service. This is
> reproducible on Jenkins version 1.443 and 1.442. The issue does not happen
> on my Jenkins instance that is running on Ubuntu Server 10.4, so it appears
> to be something related to Windows.
> The exception that occurs is the following:
> jenkins.InitReactorRunner$1 onTaskFailed
> SEVERE: Failed Loading plugin ruby-runtime
> hudson.util.IOException2: Failed to initialize
> at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:335)
> at hudson.PluginManager$2$1$1.run(PluginManager.java:294)
> at
> org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
> at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
> at jenkins.model.Jenkins$5.runTask(Jenkins.java:804)
> at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
> at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
> Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
> Caused by: org.jruby.embed.EvalFailedException: (LoadError) no such file to
> load -- haml
> at
> org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:127)
> at
> org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1231)
> at
> org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1224)
> at
> org.kohsuke.stapler.jelly.jruby.haml.HamlLanguage.createContainer(HamlLanguage.java:28)
> at
> org.kohsuke.stapler.jelly.jruby.JRubyFacet.(JRubyFacet.java:69)
> at ruby.RubyRuntimePlugin.registerJRubyFacet(RubyRuntimePlugin.java:38)
> at ruby.RubyRuntimePlugin.start(RubyRuntimePlugin.java:29)
> at
> hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:343)
> at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:332)
> ... 9 more
> Caused by: org.jruby.exceptions.RaiseException: (LoadError) no such file to
> load -- haml
> If there's any additional debug information I can add, I'll be glad to attach
> that information.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira