Jeremy,

I won't help. The thing is that Rails::Initializer requires ruby_info.rb. 
ruby_info.rb is written in a way that as soon as you require it, it will load 
all frameworks. So even by not using gems at all, this config parameter still 
doesn't work as advertised. 

Kent.

On Tuesday 13 December 2005 12:59, Jeremy Kemper wrote:
> On Dec 12, 2005, at 11:21 PM, Kent Sibilev wrote:
> > Can I ask you guys what is the point of having config.frameworks in
> > environment.rb? According to the comment before this config
> > parameter, it is
> > there so you can specify which frameworks you don't want to use. On
> > the other
> > hand, if you use gem version of rails, and I believe most people
> > do, whenever
> > you require 'initializer', all rails frameworks are being loaded as
> > a part of
> > gem dependencies mechanism. So basically this config parameter is
> > useless and
> > confusing.
>
> Put your vendor/rails directory to work with rake freeze_gems or
> freeze_edge.
>
> jeremy
> _______________________________________________
> Rails-core mailing list
> Rails-core@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-core
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to