10 lines
403 B
Ruby
10 lines
403 B
Ruby
# This rake task was added by annotate_rb gem.
|
|
|
|
# Can set `ANNOTATERB_SKIP_ON_DB_TASKS` to be anything to skip this
|
|
if Rails.env.development? && ENV["ANNOTATERB_SKIP_ON_DB_TASKS"].nil?
|
|
require "annotate_rb"
|
|
|
|
# Can modify the config path here if needed - by default, it's .annotaterb.yml in the root of the project
|
|
# AnnotateRb::ConfigFinder.config_path = ""
|
|
AnnotateRb::Core.load_rake_tasks
|
|
end
|