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

On Fri, Mar 2, 2012 at 6:49 AM, Amit gupta [email protected]
wrote:

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?

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…

On Sun, Mar 4, 2012 at 6:24 PM, Peter V.
[email protected]wrote:

To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


Thanks and Regards
Amit Gupta

On Sun, Mar 4, 2012 at 2:25 PM, Amit gupta [email protected]
wrote:

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

Gem Bundler – Manage your Ruby gems

and then checkout “groups” and options like --without

Gem Bundler – Manage your Ruby gems

HTH,

Peter