Sha256: 6062e914306b2e65cdeb48ea3c1826e7e269a0b04b0ba66573066270f6dcba04
Contents?: true
Size: 743 Bytes
Versions: 4
Compression:
Stored size: 743 Bytes
Contents
# make sure we're running inside Merb if defined?(Merb::Plugins) $: << File.dirname(__FILE__) unless $:.include?(File.dirname(__FILE__)) # Merb gives you a Merb::Plugins.config hash...feel free to put your stuff in your piece of it Merb::Plugins.config[:merb_inspector] = { :chickens => false } Merb::BootLoader.before_app_loads do require "merb_inspector" / "inspector" require "merb_inspector" / "manager" require "merb_inspector" / "helper" end Merb::BootLoader.after_app_loads do Merb::Inspector::Manager.reset Merb::Inspector::Manager.install # class ::Application # include Merb::Inspector::Helper # end end Merb::Plugins.add_rakefiles "merb_inspector/merbtasks" end
Version data entries
4 entries across 4 versions & 1 rubygems