Rakefile in wakame-vdc-agents-10.11.0 vs Rakefile in wakame-vdc-agents-10.12.0
- old
+ new
@@ -9,17 +9,17 @@
require 'rake/clean'
require 'dcmgr'
task :environment do
- Dcmgr.configure 'dcmgr.conf'
+ Dcmgr.configure 'config/dcmgr.conf'
Dcmgr.run_initializers
end
namespace :db do
desc 'Create all database tables'
task :init => [ :environment ] do
- ::Kernel.load(File.expand_path('../conf/initializers/sequel.rb', __FILE__))
+ ::Kernel.load(File.expand_path('../config/initializers/sequel.rb', __FILE__))
require 'isono'
Dcmgr::Models::CREATE_TABLE_CLASSES.each { |c|
Dcmgr::Models.const_get(c).create_table!
}