Update bs:init rake task with new database.yml location
This commit is contained in:
parent
b359e2624c
commit
3558f9a0ec
2 changed files with 3 additions and 1 deletions
|
@ -55,4 +55,6 @@ Rails.application.configure do
|
|||
|
||||
# Raises error for missing translations
|
||||
# config.action_view.raise_on_missing_translations = true
|
||||
|
||||
config.log_level = :error
|
||||
end
|
||||
|
|
|
@ -3,7 +3,7 @@ module BootstrapRakeHelper
|
|||
SERVER_LOG = Rails.root.join('log', "#{Rails.env}.log")
|
||||
AUTO_WIZARD = { source: Rails.root.join('contrib', 'auto_wizard_test.json'),
|
||||
dest: Rails.root.join('auto_wizard.json') }.freeze
|
||||
DB_CONFIG = { source: Rails.root.join('contrib', 'database.yml'),
|
||||
DB_CONFIG = { source: Rails.root.join('config', 'database', 'database.yml'),
|
||||
dest: Rails.root.join('config', 'database.yml') }.freeze
|
||||
|
||||
def flush_cache_and_logs
|
||||
|
|
Loading…
Reference in a new issue