#!/bin/bash -x
export RAILS_ENV=test
export DISPLAY=":99"

bundle install --path "/home/jenkins/bundles/${JOB_NAME}" --deployment
bundle exec rake db:drop db:create db:schema:load
bundle exec rake assets:clean assets:precompile
bundle exec rake
#!/bin/bash -x
export RAILS_ENV=test
export DISPLAY=":99"

bundle install --path "/home/jenkins/bundles/${JOB_NAME}" --deployment
bundle exec rake db:drop db:create db:structure:load
bundle exec rake assets:clean assets:precompile
bundle exec rake

Switch to db:structure:load for Jenkins
Switch to db:structure:load for Jenkins

(we don't have a db/schema.rb any more)
