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

Rake do not handle gemsets correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rake-plugin
    • openSUSE 11.4
      Jenkins 1.4.50 from RPM
      rvm stable
      rake current version

      A problem about executing project tasks in specific gemset is still appears. It is described here https://github.com/jenkinsci/rake-plugin/pull/4

      I installed rvm as its website instructs under /var/lib/jenkins (the default home directory of jenkins) and from configure I specified the rvm's home directory
      After it I selected the gemset what I created for the specific project for all two rake tasks.
      but under building, Jenkins builds project to global gemset, not the selected gemset.

      Actual log output:
      [rhcp] $ /var/lib/jenkins/.rvm/gems/ruby-1.9.3-p0@global/bin/rake --rakefile ./Rakefile.bootstrap bundler:install

      Expected log output:
      [rhcp] $ /var/lib/jenkins/.rvm/gems/ruby-1.9.3-p0@rhcp/bin/rake --rakefile ./Rakefile.bootstrap bundler:install

      It not just uses wrong rake, but it seems do not uses the selected (currently: rhcp) gemset.

            david_calavera david_calavera
            hron84 Gabor Garami
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: