-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use pg on production * Update Gemfile.lock * Update databse.yml * Allow colorize to be loaded by default by ActiveSupport Hopefully solves this error: ! Could not detect rake tasks ! ensure you can run `$ bundle exec rake -P` against your app ! and using the production group of your Gemfile. ! rake aborted! ! LoadError: cannot load such file -- colorize * And update Gemfile.lock again * Try this other thing * Heroku is being needy * Add procfile * Upgrade sprockets Fix for this message: sh: 2: config.assets.compile: not found ! ! A security vulnerability has been detected in your application. ! To protect your application you must take action. Your application ! is currently exposing its credentials via an easy to exploit directory ! traversal. ! ! To protect your application you must either upgrade to Sprockets version "3.7.2" ! or disable dynamic compilation at runtime by setting: * Have heroku automigrate
- Loading branch information
Showing
4 changed files
with
26 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# https://devcenter.heroku.com/articles/getting-started-with-rails5#webserver | ||
web: bundle exec puma -t 5:5 -p ${PORT:-3000} -e ${RACK_ENV:-development} | ||
# https://mentalized.net/journal/2017/04/22/run-rails-migrations-on-heroku-deploy/ | ||
release: bundle exec rake db:migrate |
This file contains 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