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

Ruby plugins fail to load when installed to a Windows path containing spaces

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • ruby-runtime
    • All windows systems

      There appears to be a bug in the ruby-runtime plugin when attempting to extract hpi files installed on a windows path with containing spaces. The apparent behavior is that the ruby-runtime dependency will install successfully but any ruby plugins listing it as a dependency will fail upon installation with the following error message:

      Caused by: java.lang.Exception: unable to locate gem bundle for ruby-plugin at C:\Program%20Files%20(x86)\Jenkins\plugins\ruby-plugin\WEB-INF\classes\vendor\gems
      at ruby.RubyPlugin.initRubyLoadPaths(RubyPlugin.java:229)
      at ruby.RubyPlugin.start(RubyPlugin.java:162)
      at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:416)
      at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:405)
      ... 8 more

          [JENKINS-25782] Ruby plugins fail to load when installed to a Windows path containing spaces

          Opened pull request 104 to resolve this issue

          Joshua Stupplebeen added a comment - Opened pull request 104 to resolve this issue

          Code changed in jenkins
          User: Josh Stupplebeen
          Path:
          java-runtime/src/main/java/ruby/RubyPlugin.java
          http://jenkins-ci.org/commit/jenkins.rb/aec6c9854508becac1b12cfdd439ed373e640ad4
          Log:
          [FIXED JENKINS-12094][FIXED JENKINS-23071] Upgrading jRuby version to 1.7.16 fixes both of these issues, [FIXED JENKINS-25782] Replaced ASCII spaces with space characters, removed some unused imports

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Josh Stupplebeen Path: java-runtime/src/main/java/ruby/RubyPlugin.java http://jenkins-ci.org/commit/jenkins.rb/aec6c9854508becac1b12cfdd439ed373e640ad4 Log: [FIXED JENKINS-12094] [FIXED JENKINS-23071] Upgrading jRuby version to 1.7.16 fixes both of these issues, [FIXED JENKINS-25782] Replaced ASCII spaces with space characters, removed some unused imports

          Basil Crow added a comment -

          Basil Crow added a comment - See Deprecating non-Java plugins .

            bauhaus Joshua Stupplebeen
            bauhaus Joshua Stupplebeen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: