views:

22

answers:

1

Hi,

Is there anyway I can detect a exception and stop a plugin from loading in Rails?

Thanks,
Sivakumar.

+1  A: 

Use the config.plugins option on your config/environment.rb to choose which plugins are loaded.

read more here: http://guides.rubyonrails.org/configuring.html#rails-general-configuration

Elad Meidar