2013-04-23 22:00:14 -04: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
|
2013-06-03 02:50:30 -04:00
|
|
|
MessageBus.after_fork
|
2013-04-23 22:00:14 -04:00
|
|
|
end
|
|
|
|
Spring::Commands::Rake.environment_matchers["spec"] = "test"
|