Comment 26 for bug 1411473

Revision history for this message
zhiwei (chenzhiwei) wrote : Re: cleanup Gemfile

Oh, sorry.

In this commit: https://review.openstack.org/#/c/137134/12/jenkins/jobs/macros.yaml

Line 203 installs rake by `sudo gem install rake --no-rdoc --no-ri --verbose`.

But in line 226, it uses `bundle exec rake test` command to run the test.

There are two solutions:

1. Update infra config project to replace `bundle exec rake test` by `rake test`.

2. Remove the install rake part and add rake to Gemfile back.

I am very sorry for this, I only knew that the rake was installed in infra project, but it was not used.

For now it's ok for our case, because there are other gems that depends on rake, even we did not specify rake in Gemfile it will be still installed.

I think we need to add rake back to Gemfile and remove the install rake command in infra project.