lib/crosstie/templates/active_job.rb in crosstie-0.0.6 vs lib/crosstie/templates/active_job.rb in crosstie-0.0.7
- old
+ new
@@ -4,16 +4,16 @@
REDIS_PORT: "6379"
EOF
run "cp config/application.yml config/application.yml.example"
create_file "config/initializers/sidekiq.rb", <<-EOF
-Sidekiq.configure_server do |config|
- config.redis = { :url => "redis://\#{ENV['REDIS_HOST']}:\#{ENV['REDIS_PORT']}/0", :namespace => '#{app_path}' }
-end
-
-Sidekiq.configure_client do |config|
- config.redis = { :url => "redis://\#{ENV['REDIS_HOST']}:\#{ENV['REDIS_PORT']}/0", :namespace => '#{app_path}' }
-end
+#Sidekiq.configure_server do |config|
+# config.redis = { :url => "redis://\#{ENV['REDIS_HOST']}:\#{ENV['REDIS_PORT']}/0", :namespace => '#{app_path}' }
+#end
+#
+#Sidekiq.configure_client do |config|
+# config.redis = { :url => "redis://\#{ENV['REDIS_HOST']}:\#{ENV['REDIS_PORT']}/0", :namespace => '#{app_path}' }
+#end
EOF
create_file "tmp/pids/.keep", ""
create_file "config/sidekiq.yml", <<-EOF
---