lib/ruby_skynet/railtie.rb in ruby_skynet-1.1.1 vs lib/ruby_skynet/railtie.rb in ruby_skynet-1.2.0

- old
+ new

@@ -13,11 +13,11 @@ rake_tasks do load "ruby_skynet/railties/ruby_skynet.rake" end - # Load RubySkynet Configuration - config.before_configuration do + # Load RubySkynet Configuration once rails has started + initializer 'ruby_skynet.initialize' do config_file = Rails.root.join("config", "ruby_skynet.yml") if config_file.file? ::RubySkynet.configure!(config_file, Rails.env) else puts "\nRuby Skynet config not found."