mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-06-16 16:54:51 +08:00
This reduces chances of errors where consumers of strings mutate inputs and reduces memory usage of the app. Test suite passes now, but there may be some stuff left, so we will run a few sites on a branch prior to merging
13 lines
308 B
Ruby
Vendored
13 lines
308 B
Ruby
Vendored
# frozen_string_literal: true
|
|
|
|
# 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
|
|
Discourse.after_fork
|
|
end
|
|
Spring::Commands::Rake.environment_matchers["spec"] = "test"
|