Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12094

ruby-runtime plugin fails to initialize

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Critical Critical
    • None
    • Windows 7 64-bit, Running Jenkins as a Windows Service

      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.<init>(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.

            Unassigned Unassigned
            westhusing Adam Westhusing
            Votes:
            8 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: