10 lines
348 B
Ruby
10 lines
348 B
Ruby
# NOTE: only doing this in development as some production environments (Heroku)
|
|
# NOTE: are sensitive to local FS writes, and besides -- it's just not proper
|
|
# NOTE: to have a dev-mode tool do its thing in production.
|
|
if Rails.env.development?
|
|
require 'annotate_rb'
|
|
|
|
# Configuration is in .annotaterb.yml
|
|
AnnotateRb::Core.load_rake_tasks
|
|
end
|