]> git.openstreetmap.org Git - rails.git/blob - lib/tasks/annotate_rb.rake
Register startinglocation listener as a named function
[rails.git] / lib / tasks / annotate_rb.rake
1 # This rake task was added by annotate_rb gem.
2
3 # Can set `ANNOTATERB_SKIP_ON_DB_TASKS` to be anything to skip this
4 if Rails.env.development? && ENV["ANNOTATERB_SKIP_ON_DB_TASKS"].nil?
5   require "annotate_rb"
6
7   AnnotateRb::Core.load_rake_tasks
8 end