Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Add a working app.json #5

Merged
merged 8 commits into from May 5, 2014
Merged

Add a working app.json #5

merged 8 commits into from May 5, 2014

Conversation

zeke
Copy link
Contributor

@zeke zeke commented May 5, 2014

馃殝

desc "Get the application set up for development"

task :bootstrap => :environment do
Rake::Task["db:create"].invoke unless Rails.env.production?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not calling dbcreate is more of a Heroku Postgres-ism rather than being related to the Rails.env.production?. Perhaps its ok as is, but just wonder if postdeploy should call db:migrate directly or something else that signifies to this relationship better.

@ryanbrainard
Copy link

馃憤

@zeke
Copy link
Contributor Author

zeke commented May 5, 2014

Thanks for the input, @ryanbrainard. Updated and merging.

zeke added a commit that referenced this pull request May 5, 2014
Add a working app.json
@zeke zeke merged commit 3d173a5 into heroku:master May 5, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants