diff options
-rw-r--r-- | lib/tasks/dev_setup.rake | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/tasks/dev_setup.rake b/lib/tasks/dev_setup.rake index 42a37a5..73e0b01 100644 --- a/lib/tasks/dev_setup.rake +++ b/lib/tasks/dev_setup.rake @@ -2,9 +2,13 @@ namespace :dev do task :config_db do - sh 'ln -s database.yml.sqlite3 config/database.yml' + sh 'ln -snf database.yml.sqlite3 config/database.yml' + end + + task :config_refinery do + sh 'cp config/initializers/refinery/core.rb.example config/initializers/refinery/core.rb' end desc "Setup local environment for development." - task :setup => [ 'config_db', 'db:setup' ] + task :setup => [ 'config_refinery', 'config_db', 'db:setup' ] end |