I'm unable to see the paperclip_with_hobo taglib when I use Ruby 1.9.2, Rails 3 
and Hobo 1.3.0.pre25 
Hobo is trying to load it from the application and not from the plugins 
directory

With a Ruby 1.8.7/Rails 2.3.5/Hobo 1.0.2 install, however, it works fine.

I was wondering if this is user error on my part or a real  issue?

Peter


THE ERROR

ActionView::Template::Error (No such taglib: 
/Users/peter/src/yk/app/views/taglibs {:src=>"paperclip", 
:plugin=>"paperclip_with_hobo", :type=>:include, 
:template_dir=>"app/views/taglibs"} 
/Users/peter/src/yk/app/views/taglibs/paperclip.dryml):
    1: <page title="Home">
    2: 


The details

[peter@mbp extras]$ ruby -v
ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.5.0]
[peter@mbp extras]$ gem list | grep hobo
hobo (1.3.0.pre25)
hobo_fields (1.3.0.pre25)
hobo_support (1.3.0.pre25)


[peter@mbp $ rails server -p 8000
=> Booting WEBrick
=> Rails 3.0.3 application starting in development on http://0.0.0.0:8000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2011-01-19 12:29:26] INFO  WEBrick 1.3.1
[2011-01-19 12:29:26] INFO  ruby 1.9.2 (2010-12-25) [x86_64-darwin10.5.0]
[2011-01-19 12:29:26] INFO  WEBrick::HTTPServer#start: pid=8676 port=8000


Started GET "/" for 127.0.0.1 at 2011-01-19 12:29:32 -0500
  Processing by YController#index as HTML
  SQL (0.5ms)   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  User Load (0.3ms)  SELECT "users".* FROM "users" WHERE ("users"."id" = 1) 
LIMIT 1
  DRYML: Compiled 
/Users/peter/.rvm/gems/ruby-1.9.2-p136/gems/dryml-1.3.0.pre25/taglibs/core.dryml
 in 0.02s
  DRYML: Compiled 
/Users/peter/.rvm/gems/ruby-1.9.2-p136/gems/hobo-1.3.0.pre25/lib/hobo/rapid/taglibs/rapid_core.dryml
 in 0.16s
  DRYML: Compiled 
/Users/peter/.rvm/gems/ruby-1.9.2-p136/gems/hobo-1.3.0.pre25/lib/hobo/rapid/taglibs/rapid_support.dryml
 in 0.01s
  DRYML: Compiled 
/Users/peter/.rvm/gems/ruby-1.9.2-p136/gems/hobo-1.3.0.pre25/lib/hobo/rapid/taglibs/rapid_document_tags.dryml
 in 0.08s
  DRYML: Compiled 
/Users/peter/.rvm/gems/ruby-1.9.2-p136/gems/hobo-1.3.0.pre25/lib/hobo/rapid/taglibs/rapid_pages.dryml
 in 0.07s
  DRYML: Compiled 
/Users/peter/.rvm/gems/ruby-1.9.2-p136/gems/hobo-1.3.0.pre25/lib/hobo/rapid/taglibs/rapid_editing.dryml
 in 0.10s
  DRYML: Compiled 
/Users/peter/.rvm/gems/ruby-1.9.2-p136/gems/hobo-1.3.0.pre25/lib/hobo/rapid/taglibs/rapid_forms.dryml
 in 0.21s
  DRYML: Compiled 
/Users/peter/.rvm/gems/ruby-1.9.2-p136/gems/hobo-1.3.0.pre25/lib/hobo/rapid/taglibs/rapid_navigation.dryml
 in 0.08s
  DRYML: Compiled 
/Users/peter/.rvm/gems/ruby-1.9.2-p136/gems/hobo-1.3.0.pre25/lib/hobo/rapid/taglibs/rapid_plus.dryml
 in 0.05s
  DRYML: Compiled 
/Users/peter/.rvm/gems/ruby-1.9.2-p136/gems/hobo-1.3.0.pre25/lib/hobo/rapid/taglibs/rapid_generics.dryml
 in 0.06s
  DRYML: Compiled 
/Users/peter/.rvm/gems/ruby-1.9.2-p136/gems/hobo-1.3.0.pre25/lib/hobo/rapid/taglibs/rapid_lifecycles.dryml
 in 0.01s
  DRYML: Compiled 
/Users/peter/.rvm/gems/ruby-1.9.2-p136/gems/hobo-1.3.0.pre25/lib/hobo/rapid/taglibs/rapid_summary.dryml
 in 0.05s
  DRYML: Compiled 
/Users/peter/.rvm/gems/ruby-1.9.2-p136/gems/hobo-1.3.0.pre25/lib/hobo/rapid/taglibs/rapid_user_pages.dryml
 in 0.19s
  DRYML: Compiled 
/Users/peter/.rvm/gems/ruby-1.9.2-p136/gems/hobo-1.3.0.pre25/lib/hobo/rapid/taglibs/rapid_i18n.dryml
 in 0.01s
  DRYML: Compiled 
/Users/peter/.rvm/gems/ruby-1.9.2-p136/gems/hobo-1.3.0.pre25/lib/hobo/rapid/taglibs/rapid.dryml
 in 1.10s
  DRYML: Compiled app/views/taglibs/auto/rapid/cards.dryml in 0.03s
  DRYML: Compiled app/views/taglibs/auto/rapid/pages.dryml in 0.58s
  DRYML: Compiled app/views/taglibs/auto/rapid/forms.dryml in 0.10s
Rendered y/index.dryml (1978.2ms)
Completed   in 1988ms

ActionView::Template::Error (No such taglib: 
/Users/peter/src/yk/app/views/taglibs {:src=>"paperclip", 
:plugin=>"paperclip_with_hobo", :type=>:include, 
:template_dir=>"app/views/taglibs"} 
/Users/peter/src/yk/app/views/taglibs/paperclip.dryml):
    1: <page title="Home">
    2: 
    3:   <body: class="front-page"/>
    4: 
  app/views/y/index.dryml:1:in 
`_app_views_y_index_dryml___2732314762332760484_2165362200__3731996176222433175'

Rendered 
/Users/peter/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb
 (1.1ms)
Rendered 
/Users/peter/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb
 (3.5ms)
Rendered 
/Users/peter/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb
 within rescues/layout (9.0ms)

-- 
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