Skip to content


Only install rake if needed #383

merged 1 commit into from

3 participants

JBoss Developer member

No description provided.

@paulrobinson paulrobinson merged commit 1e50a38 into jboss-developer:master

1 check passed

Details jboss-developer-ci JBoss Developer CI build status: success
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 15, 2014
  1. @pmuir

    Only install rake if needed

    pmuir committed
Showing with 3 additions and 1 deletion.
  1. +3 −1
@@ -39,7 +39,9 @@ function setup_environment {
rvm_install_on_use_flag=1 rvm --create use ${ruby_version}@${ruby_gemset}
# Make sure rake is installed, so we can execute rake setup
- rvm ${ruby_version}@${ruby_gemset} do gem install rake --no-document
+ if [ $(rvm ${ruby_version}@${ruby_gemset} do gem list rake -i) != "true" ] ; then
+ rvm ${ruby_version}@${ruby_gemset} do gem install rake
+ fi
## Build setup
# Configure the environment. Must run bundle install to bootstrap the env
Something went wrong with that request. Please try again.