# How to get plugins to load

**URL:** <https://www.ruby-forum.com/t/how-to-get-plugins-to-load/193407>\
**Category:** Rails\
**Created:** [August 17, 2010, 6:43am UTC](https://www.ruby-forum.com/t/how-to-get-plugins-to-load/193407 "2010-08-17T06:43:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mitch\_newbie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea5d25/32.png) [@mitch\_newbie](https://www.ruby-forum.com/u/mitch_newbie)\
**Post date:** [August 17, 2010, 6:43am UTC](https://www.ruby-forum.com/t/how-to-get-plugins-to-load/193407/1 "2010-08-17T06:43:59Z")

</div>

I un-commented the following in my environments.rb file

config.plugins = [:all, :exception\_notification, :ssl\_requirement]

but I get the following errors:

in `ensure_all_registered_plugins_are_loaded!': Could not locate the following plugins: exception_notification and ssl_requirement (LoadError) from /Users/mitch/.gem/ruby/1.8/gems/rails-2.3.2/lib/rails/plugin/loader.rb:44:in`load\_plugins’  
from  
/Users/mitch/.gem/ruby/1.8/gems/rails-2.3.2/lib/initializer.rb:348:in  
`load_plugins' from /Users/mitch/.gem/ruby/1.8/gems/rails-2.3.2/lib/initializer.rb:163:in`process’  
from  
/Users/mitch/.gem/ruby/1.8/gems/rails-2.3.2/lib/initializer.rb:113:in  
`send' from /Users/mitch/.gem/ruby/1.8/gems/rails-2.3.2/lib/initializer.rb:113:in`run’  
from  
/Users/mitch/railsprojects/gould\_development/config/environment.rb:9  
from /Library/Ruby/Site/1.8/rubygems/custom\_require.rb:31:in  
`gem_original_require' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in`require’  
from  
/Users/mitch/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active\_support/dependencies.rb:156:in  
`require' from /Users/mitch/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in`new\_constants\_in’  
from  
/Users/mitch/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active\_support/dependencies.rb:156:in  
`require' from /Users/mitch/.gem/ruby/1.8/gems/rails-2.3.2/lib/commands/server.rb:84 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in`gem\_original\_require’  
from /Library/Ruby/Site/1.8/rubygems/custom\_require.rb:31:in `require’  
from script/server:3

I want to use some plugins in my vendors folder. How do I do this and  
why am I getting the above errors?

Thank you in advance

Mitchell

---

<div class="post-metadata">

**Author:** ![mitch\_newbie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea5d25/32.png) [@mitch\_newbie](https://www.ruby-forum.com/u/mitch_newbie)\
**Post date:** [August 17, 2010, 6:55am UTC](https://www.ruby-forum.com/t/how-to-get-plugins-to-load/193407/2 "2010-08-17T06:55:00Z")

</div>

Mitchell G. wrote:

> I un-commented the following in my environments.rb file
> 
> config.plugins = [:all, :exception\_notification, :ssl\_requirement]
> 
> but I get the following errors:
> 
> I want to use some plugins in my vendors folder. How do I do this and  
> why am I getting the above errors?
> 
> Thank you in advance
> 
> Mitchell

Hi Mitchell,  
Do you have ‘exception\_notification, ssl\_requirement’ in your  
vendors/plugin folder?  
If not remove exception\_notification, ssl\_requirement’ from  
environments.rb file.  
config.plugins = [:all]  
This statement would load only the plugins present in your application.

Thanks,  
Anubhaw
