Hi, I''m trying to insert something in the config dir, and I tried adding a require in the environment.rb file, but it seems it never gets loaded. Even if I rename that file, my app continues working normally, and it shouldn''t, right?... What''s going on? I''m using webrick by the way. Thanks! Ivan V.
I think changes to the enviroment like you suggest require you to webBrick / Apache / Lighthttpd (i think) Cheers Geoff Iván Vega Rivera wrote:> Hi, > > I''m trying to insert something in the config dir, and I tried adding a > require in the environment.rb file, but it seems it never gets loaded. > Even if I rename that file, my app continues working normally, and it > shouldn''t, right?... What''s going on? > > I''m using webrick by the way. > > Thanks! > > Ivan V. > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
On 10/15/05, Geoff <geoff@osbaldestin.net> wrote:> I think changes to the enviroment like you suggest require you to > webBrick / Apache / Lighthttpd (i think)I think Geoff meant you had to *restart* the web servers ;-)> > Cheers > Geoff > > Iván Vega Rivera wrote: > > > Hi, > > > > I'm trying to insert something in the config dir, and I tried adding a > > require in the environment.rb file, but it seems it never gets loaded. > > Even if I rename that file, my app continues working normally, and it > > shouldn't, right?... What's going on? > > > > I'm using webrick by the way. > > > > Thanks! > > > > Ivan V. > > > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
oooops :-P Geoff Jacob Quinn Shenker wrote:>On 10/15/05, Geoff <geoff-hL7hnT9RFJ9RuSCTpLpCrg@public.gmane.org> wrote: > > >>I think changes to the enviroment like you suggest require you to >>webBrick / Apache / Lighthttpd (i think) >> >> > >I think Geoff meant you had to *restart* the web servers ;-) > > > >>Cheers >>Geoff >> >>Iván Vega Rivera wrote: >> >> >> >>>Hi, >>> >>>I''m trying to insert something in the config dir, and I tried adding a >>>require in the environment.rb file, but it seems it never gets loaded. >>>Even if I rename that file, my app continues working normally, and it >>>shouldn''t, right?... What''s going on? >>> >>>I''m using webrick by the way. >>> >>>Thanks! >>> >>>Ivan V. >>> >>>_______________________________________________ >>>Rails mailing list >>>Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>>http://lists.rubyonrails.org/mailman/listinfo/rails >>> >>> >>> >>_______________________________________________ >>Rails mailing list >>Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>http://lists.rubyonrails.org/mailman/listinfo/rails >> >> >> >>------------------------------------------------------------------------ >> >>_______________________________________________ >>Rails mailing list >>Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>http://lists.rubyonrails.org/mailman/listinfo/rails >> >>
Jacob Quinn Shenker wrote:> On 10/15/05, Geoff <geoff-hL7hnT9RFJ9RuSCTpLpCrg@public.gmane.org> wrote: > >> I think changes to the enviroment like you suggest require you to >> webBrick / Apache / Lighthttpd (i think) >> > > I think Geoff meant you had to *restart* the web servers ;-) > > >> Cheers >> Geoff >> >> Iván Vega Rivera wrote: >> >> >>> Hi, >>> >>> I''m trying to insert something in the config dir, and I tried adding a >>> require in the environment.rb file, but it seems it never gets loaded. >>> Even if I rename that file, my app continues working normally, and it >>> shouldn''t, right?... What''s going on? >>> >>> I''m using webrick by the way. >>> >>> Thanks! >>> >>> Ivan V. >>> >>> _______________________________________________ >>> Rails mailing list >>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>> http://lists.rubyonrails.org/mailman/listinfo/rails >>> >>> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >>Thank you guys!