New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'dumper' gem to backup database #326

Merged
merged 2 commits into from May 7, 2018

Conversation

Projects
None yet
1 participant
@yasulab
Copy link
Member

yasulab commented May 6, 2018

@yasulab yasulab changed the title Add 'dumper' gem to backup database [WIP] Add 'dumper' gem to backup database May 6, 2018

@yasulab

This comment has been minimized.

Copy link
Member Author

yasulab commented May 7, 2018

準備 Done Production に反映させてみます 🚀

@yasulab yasulab changed the title [WIP] Add 'dumper' gem to backup database Add 'dumper' gem to backup database May 7, 2018

@yasulab yasulab merged commit b904ab6 into master May 7, 2018

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@yasulab yasulab deleted the add-dumperio branch May 7, 2018

# For conditional start:
#
Dumper::Agent.start_if(:app_key => ENV['DUMPER_APP_KEY']) do
Rails.env.production? && dumper_enabled_host?

This comment has been minimized.

@yasulab

yasulab May 7, 2018

Author Member

お...? 使い方を間違えていたっぽい? 🤔💭

-----> Preparing app for Rails asset pipeline
       Running: rake assets:precompile
       rake aborted!
       NoMethodError: undefined method `dumper_enabled_host?' for main:Object
       /tmp/build_0fa87f6f634868bdc25191b0b50bea5e/config/initializers/dumper.rb:11:in `block in <top (required)>'

cf. https://travis-ci.org/coderdojo-japan/coderdojo.jp/builds/375686170#L996

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment