Restricting plugin to load in the production environment

Hi

I am using redhillonrails_core plugin in my application.
I want it to be loaded only in development environment and not in the
production environment.
Can anyone suggest the way out?

Thanks

Which version of Rails ?

Which method to deploy to production (capistrano) ?

Using Bundler (with a Gemfile) ?

Peter

i am using rails 2.3.5

yes i am using capistrano but not using bundler…

I don't remember how to do that without bundler, sorry.

You may consider upgrading to bundler

  http://gembundler.com/rails23.html

and then checkout "groups" and options like --without

  http://gembundler.com/bundle_install.html

HTH,

Peter