W dniu 18.06.2010 12:37, Joachim pisze:
> W dniu 16.06.2010 18:31, Tom Locke pisze:
>>> Do you know how can I tell Hobo to look for taglib in hobo_openid gem
>>> directory?
>>
>> IIRC we handled :plugin => "hobo as a special case. Loading other taglibs
>> from gems is not supported yet.
>>
>> However you can give template-dir="..." and provide the absolute path.
>
>
> Thank you Tom I'll try that.
I tried
include_taglib "rapid_openid_user_pages", :template_dir =>
"#{File.expand_path(File.dirname(__FILE__))}/../taglibs"
I checked that
"#{File.expand_path(File.dirname(__FILE__))}/../taglibs"
returns proper path and file
rapid_openid_user_pages.dryml
exists in that directory. But I still get error
No such taglib: /path/to/application/users {:template_dir=>"users",
:src=>"rapid_openid_user_pages"}
/path/to/application/users/rapid_openid_user_pages.dryml
what am I doing wrong?
--
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.