On Wednesday, 17 September 2014 17:46:15 UTC+1, sri wrote:
>
> We have a couple of different projects that use Mojolicious, some of them 
>> are Web based and some of them just use the Mojo modules for the IOLoop 
>> functionality. To reduce the number of unnecessary files transferred during 
>> deployments we split them up, but now we have this problem.
>>
>
> We do not support splitting up the Mojolicious distribution, you're 
> completely on your own with this.
>

Wow, and people are surprised that open source projects have a bad 
reputation; even a pointer in the right direction would have been a nice 
gesture.
I don't know why you bothered to split it into two name spaces if they 
aren't supported separately.

Anyway, for those that are interested I found the cause after a short 
period of investigation and fixed it by changing one line:

*** lib/Mojo/Home.pm    2014-09-18 11:04:27.683569000 +0100
--- lib/Mojo/Home.pm.original   2014-09-18 10:37:46.392771000 +0100
***************
*** 60,62 ****

! sub mojo_lib_dir { $INC{'Mojolicious.pm'} ? 
dirname($INC{'Mojolicious.pm'}) : catdir(dirname(__FILE__), '..'); }

--- 60,62 ----

! sub mojo_lib_dir { catdir(dirname(__FILE__), '..') }



-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to