You are right, I tested it and it doesn't seem to work. I opened an issue in Github about this:

https://github.com/Hobo/hobo/issues/13

Regards,
Ignacio


El 19/11/12 12:51, Arnaud Doyen escribió:
As far as I can see, it appears that Dryml.precompile_taglibs is not
working anymore (I am on Hobo 2.0pre3).

2012/11/19 Arnaud Doyen <[email protected] <mailto:[email protected]>>

    I have already this line in one initializer
    Dryml.precompile_taglibs if File.basename($0) != "rake" &&
    Rails.env.production?

    But strangely, this is not working while the basename should be
    unicorn_rails or bundle (since I do a bundle exec unicorn_rails ...)
    and Rails.env is production.


    2012/11/19 Matt Jones <[email protected] <mailto:[email protected]>>


        On Nov 17, 2012, at 10:15 AM, Arnaud Doyen wrote:

         > Great, this is working.
         > But, if you have anything shorter, I'm ok with that :-)

        Calling 'Dryml.precompile_taglibs' in someplace that runs before
        the fork (an initializer, maybe?) will do what you're looking for.

        --Matt Jones

        --
        You received this message because you are subscribed to the
        Google Groups "Hobo Users" group.
        To post to this group, send email to [email protected]
        <mailto:[email protected]>.
        To unsubscribe from this group, send email to
        [email protected]
        <mailto:hobousers%[email protected]>.
        For more options, visit this group at
        http://groups.google.com/group/hobousers?hl=en.



--
You received this message because you are subscribed to the Google
Groups "Hobo Users" 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/hobousers?hl=en.

--
Ignacio Huerta Arteche
http://www.ihuerta.net
Teléfono: 0034 645 70 77 35
Email realizado con software libre

--
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to