Disabling Tuneup in development

Subscribe to Disabling Tuneup in development 2 post(s), 2 voice(s)

 
Avatar corey haines 1 post(s)

I was going to post a question, but I figured it out, so I’ll post the answer.
I wanted to keep the plugin installed, but be able to selectively disable it in development. I created the config/tuneup.rb and added the following code:
Fiveruns::Tuneup.config do |config|
config.environments.delete ‘development’
end

 
Avatar Tinu Cleatus 2 post(s)

But then I’ll have to check that in to my repository. How can I do that without creating a new file in the config directory. Can we do any local settings like in the local_config file?