Joaquin Rivera Padron
2011-Feb-11 11:31 UTC
loading different plugins for different environments
hi, with bundler we can isolate gems for given environments, is there a way of doing something like that also for plugins? I won''t be able to turn every plugin in a gem to do so (but if that''s the way to go, I''ll put it in my list)... maybe the rails load process can exclude some paths from loading for given environments? wdyt? makes sense? have you done something similar? how have you solved it? the main project I''m aiming it''s a rails 2.3.5 one (I know it''s old, but you know enterprises) tia, jk -- www.least-significant-bit.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
Michael Koziarski
2011-Feb-12 07:08 UTC
Re: loading different plugins for different environments
On Sat, Feb 12, 2011 at 12:31 AM, Joaquin Rivera Padron <joahking@gmail.com> wrote:> hi, > with bundler we can isolate gems for given environments, is there a way of > doing something like that also for plugins? > I won''t be able to turn every plugin in a gem to do so (but if that''s the > way to go, I''ll put it in my list)... > maybe the rails load process can exclude some paths from loading for given > environments? wdyt? makes sense? have you done something similar? how have > you solved it?Hi, This is the wrong list to ask a question like this, please ask on the rubyonrails-talk list. However we do have config.plugins which should do everything you need.> the main project I''m aiming it''s a rails 2.3.5 one (I know it''s old, but you > know enterprises)There have been several security vulnerabilities reported with that release which were fixed subsequently. You need to upgrade, enterprise or not.> tia, > jk > > -- > www.least-significant-bit.com > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To post to this group, send email to rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en. >-- Cheers Koz -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
Joaquin Rivera Padron
2011-Feb-12 12:31 UTC
Re: loading different plugins for different environments
oops, yes, i mixed the lists :-) thanks koz, will check that jk 2011/2/12 Michael Koziarski <michael@koziarski.com>> On Sat, Feb 12, 2011 at 12:31 AM, Joaquin Rivera Padron > <joahking@gmail.com> wrote: > > hi, > > with bundler we can isolate gems for given environments, is there a way > of > > doing something like that also for plugins? > > I won''t be able to turn every plugin in a gem to do so (but if that''s the > > way to go, I''ll put it in my list)... > > maybe the rails load process can exclude some paths from loading for > given > > environments? wdyt? makes sense? have you done something similar? how > have > > you solved it? > > Hi, > > This is the wrong list to ask a question like this, please ask on the > rubyonrails-talk list. However we do have config.plugins which should > do everything you need. > > > > > > the main project I''m aiming it''s a rails 2.3.5 one (I know it''s old, but > you > > know enterprises) > > There have been several security vulnerabilities reported with that > release which were fixed subsequently. You need to upgrade, > enterprise or not. > > > tia, > > jk > > > > -- > > www.least-significant-bit.com > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Ruby on Rails: Core" group. > > To post to this group, send email to rubyonrails-core@googlegroups.com. > > To unsubscribe from this group, send email to > > rubyonrails-core+unsubscribe@googlegroups.com. > > For more options, visit this group at > > http://groups.google.com/group/rubyonrails-core?hl=en. > > > > > > -- > Cheers > > Koz > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To post to this group, send email to rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en. > >-- www.least-significant-bit.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.