setup:
  commands:
    - bundle install --without development production
    - bundle exec rake db:test:prepare
test:
  commands:
    - bundle exec rake
deploy:
  branch: master

setup:
  commands:
    - bundle install --without production
    - bundle exec rake db:test:prepare
test:
  commands:
    - bundle exec rake
deploy:
  branch: master

Remove development from bundle install group.
Remove development from bundle install group.
