mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7143: fix the fix for rvm/ruby/bundler setup on jenkins
The recommended use of --deployment goes along with the requirement to check Gemfile.lock into source control, which I don't want to do.
This commit is contained in:
parent
0570d37106
commit
25bb682cd1
|
|
@ -260,7 +260,8 @@ function setup_ruby() {
|
|||
# .rvmrc won't get trusted/auto-loaded by jenkins by default
|
||||
export VAGRANT_HOME=$HOME/.vagrant.d-release-cloudstack
|
||||
rvm use ruby-1.9.3@vagrant-release-cloudstack --create
|
||||
bundle_args="--deployment"
|
||||
# do not use --deployment since that requires Gemfile.lock...and we prefer an up-to-date veewee
|
||||
bundle_args="--path vendor/bundle"
|
||||
fi
|
||||
bundle check || bundle install ${bundle_args}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue