Last active
December 20, 2015 23:39
-
-
Save stuarthannig/6214426 to your computer and use it in GitHub Desktop.
When running 'rake test:prepare' from SSH terminal on the test environment that has a Heroku PostgreSQL database, you will be presented with a Permission Denied error. The following is a simple workaround for that issue.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rake db:migrate VERSION=0 RAILS_ENV=test; rake db:migrate RAILS_ENV=test; | |
# If you do not have RVM v1.11 installed, you may have to use 'bundle exec' infront of your rake commands, like so: | |
# bundle exec rake db:migrate VERSION=0 RAILS_ENV=test; bundle exec rake db:migrate RAILS_ENV=test; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment