Browse Source

+stop spring before devise generator runs (#43)

Kai Rautenberg 6 years ago
parent
commit
f71ffd0140
1 changed files with 5 additions and 0 deletions
  1. 5 0
      template.rb

+ 5 - 0
template.rb

@@ -182,6 +182,10 @@ def add_whenever
   run "wheneverize ."
   run "wheneverize ."
 end
 end
 
 
+def stop_spring
+  run "spring stop"
+end
+
 # Main setup
 # Main setup
 add_template_repository_to_source_path
 add_template_repository_to_source_path
 
 
@@ -189,6 +193,7 @@ add_gems
 
 
 after_bundle do
 after_bundle do
   set_application_name
   set_application_name
+  stop_spring
   add_users
   add_users
   add_bootstrap
   add_bootstrap
   add_sidekiq
   add_sidekiq