mirror of
https://github.com/paper-trail-gem/paper_trail.git
synced 2022-11-09 11:33:19 -05:00
Update instructions to avoid warning about test environment
This commit is contained in:
parent
c0a90c2892
commit
2bb7a6a56d
1 changed files with 3 additions and 3 deletions
6
.github/CONTRIBUTING.md
vendored
6
.github/CONTRIBUTING.md
vendored
|
@ -105,9 +105,9 @@ DB=postgres bundle exec rake prepare
|
|||
# See spec/dummy_app/config/boot.rb for a complete explanation.
|
||||
cd spec/dummy_app
|
||||
export BUNDLE_GEMFILE=../../gemfiles/ar_5.0.gemfile
|
||||
DB=postgres RAILS_ENV=test bundle exec rake db:drop db:create db:migrate
|
||||
DB=postgres RAILS_ENV=foo bundle exec rake db:drop db:create db:migrate
|
||||
DB=postgres RAILS_ENV=bar bundle exec rake db:drop db:create db:migrate
|
||||
DB=postgres RAILS_ENV=test bundle exec rake db:environment:set db:drop db:create db:migrate
|
||||
DB=postgres RAILS_ENV=foo bundle exec rake db:environment:set db:drop db:create db:migrate
|
||||
DB=postgres RAILS_ENV=bar bundle exec rake db:environment:set db:drop db:create db:migrate
|
||||
unset BUNDLE_GEMFILE
|
||||
cd ../..
|
||||
|
||||
|
|
Loading…
Reference in a new issue