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

ruby plugins cannot work on Jenkins 1.519+


    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • ruby-runtime
    • None
    • Linux sid 3.8-1-amd64 #1 SMP Debian 3.8.11-1 x86_64 GNU/Linux

      After upgrading Jenkins 1.519, Jenkins fails to load plugin which is depending on ruby-runtime (e.g. rbenv) by the exception of `hudson.util.IOException2: Failed to initialize`.

      Jenkins home directory: /home/yyuu/.jenkins found at: $user.home/.jenkins
      Jun 27, 2013 8:13:33 PM winstone.Logger logInternal
      INFO: HTTP Listener started: port=8080
      Jun 27, 2013 8:13:33 PM winstone.Logger logInternal
      INFO: Winstone Servlet Engine v0.9.10 running: controlPort=disabled
      Jun 27, 2013 8:13:33 PM jenkins.InitReactorRunner$1 onAttained
      INFO: Started initialization
      Jun 27, 2013 8:13:37 PM jenkins.InitReactorRunner$1 onAttained
      INFO: Listed all plugins
      Jun 27, 2013 8:13:37 PM ruby.RubyRuntimePlugin start
      INFO: Injecting JRuby into XStream
      Jun 27, 2013 8:13:41 PM jenkins.InitReactorRunner$1 onTaskFailed
      SEVERE: Failed Loading plugin rbenv
      hudson.util.IOException2: Failed to initialize
              at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:379)
              at hudson.PluginManager$2$1$1.run(PluginManager.java:334)
              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$7.runTask(Jenkins.java:893)
              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.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:722)
      Caused by: java.lang.Exception: unable to locate gem bundle for rbenv at /home/yyuu/.jenkins/plugins/rbenv/WEB-INF/classes/vendor/gems
              at ruby.RubyPlugin.initRubyLoadPaths(RubyPlugin.java:202)
              at ruby.RubyPlugin.start(RubyPlugin.java:158)
              at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:387)
              at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:376)
              ... 9 more

      How to reproduce:

      1. Install Jenkins 1.519+
      2. Install a Jenkins plugin which is depending on ruby-runtime.

            yyuu Yuu Yamashita
            yyuu Yuu Yamashita
            5 Vote for this issue
            8 Start watching this issue