mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Robot now installs bundler if missing
This commit is contained in:
parent
5810901e68
commit
3a243f7ac6
1 changed files with 6 additions and 1 deletions
|
@ -19,7 +19,12 @@ cp config/application-example.yml config/application.yml
|
|||
cp config/secrets-example.yml config/secrets.yml
|
||||
cp config/database-robot.yml config/database.yml
|
||||
|
||||
# under jenkins use rbenv-plugin wrapper
|
||||
# Under jenkins admin interface use rbenv-plugin wrapper
|
||||
# rbenv does not have bundler by default
|
||||
if echo gem list --local bundler | grep -q "bundler"
|
||||
then echo ''
|
||||
else gem install bundler
|
||||
fi
|
||||
bundle install
|
||||
|
||||
RAILS_ENV=test bundle exec rake db:all:drop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue