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 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Peter Vandenabeele
2012-Mar-04 12:54 UTC
Re: Restricting plugin to load in the production environment
On Fri, Mar 2, 2012 at 6:49 AM, Amit gupta <amitgupta2108-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Amit gupta
2012-Mar-04 13:25 UTC
Re: Restricting plugin to load in the production environment
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 Vandenabeele <peter-jNuWw7i2w7syMbTcgqFhxg@public.gmane.org>wrote:> On Fri, Mar 2, 2012 at 6:49 AM, Amit gupta <amitgupta2108-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > 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 > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- *Thanks and Regards* *Amit Gupta* -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Peter Vandenabeele
2012-Mar-04 13:40 UTC
Re: Restricting plugin to load in the production environment
On Sun, Mar 4, 2012 at 2:25 PM, Amit gupta <amitgupta2108-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 http://gembundler.com/rails23.html and then checkout "groups" and options like --without http://gembundler.com/bundle_install.html HTH, Peter -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.