As Wael, I put a initializer (config/initializers) with a single line:
MissingSourceFile::REGEXPS << [/^cannot load such file -- (.+)$/i, 1]
and that's it!

On Nov 25, 10:21 am, "Wael M. Nasreddine" <[email protected]>
wrote:
> What about:
>
> MissingSourceFile::REGEXPS.push([/^cannot load such file -- (.+)$/i, 1])
>
> Just after loading rails!
>
> On Fri, Nov 25, 2011 at 14:16, gmile <[email protected]> wrote:
> > Any idea of what to put in *config/application.rb*?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Ruby on Rails: Core" group.
> > To view this discussion on the web visit
> >https://groups.google.com/d/msg/rubyonrails-core/-/3NCQ45YBRVcJ.
>
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> >http://groups.google.com/group/rubyonrails-core?hl=en.
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Waêl Nasreddine
> TechnoGatewww.technogate.fr
> mobile :  06.41.68.38.35
> agence : 09.70.444.236
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to