Gabor Garami created JENKINS-12786:
--------------------------------------

             Summary: Rake do not handle gemsets correctly
                 Key: JENKINS-12786
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12786
             Project: Jenkins
          Issue Type: Bug
          Components: rake
    Affects Versions: current
         Environment: openSUSE 11.4
Jenkins 1.4.50 from RPM
rvm stable
rake current version
            Reporter: Gabor Garami
            Assignee: david_calavera


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.

--
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

        

Reply via email to