diff --git a/config/spring.rb b/config/spring.rb new file mode 100644 index 000000000..2b1a7df8c --- /dev/null +++ b/config/spring.rb @@ -0,0 +1,13 @@ +# spring speeds up your dev environment, similar to zeus but build in Ruby +# +# gem install spring +# +# spring binstub rails +# spring binstub rake +# spring binstub rspec +Spring.after_fork do + $redis.client.reconnect + MessageBus.reliable_pub_sub.pub_redis.client.reconnect + Rails.cache.reconnect +end +Spring::Commands::Rake.environment_matchers["spec"] = "test"