lib/jets/generator.rb in jets-2.3.5 vs lib/jets/generator.rb in jets-2.3.6
- old
+ new
@@ -76,9 +76,12 @@
ARGV.include?('--noop')
end
def run(behavior=:invoke)
self.class.require_generators
+
+ Jets::Commands::Db::Tasks.load!
+
Rails::Generators.configure!(config)
Rails::Generators.invoke(@generator, @args, behavior: behavior, destination_root: Jets.root)
end
def config