1
0
mirror of https://github.com/discourse/discourse.git synced 2025-03-09 14:34:35 +00:00

14 lines
328 B
Ruby
Raw Normal View History

2013-04-24 12:00:14 +10:00
# 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
Rails.cache.reconnect
MessageBus.after_fork
2013-04-24 12:00:14 +10:00
end
Spring::Commands::Rake.environment_matchers["spec"] = "test"