I thought there was a rake task to generate the auto taglibs?  Or has
that not been implemented yet?

On Jan 28, 5:12 pm, Scott Bronson <[email protected]> wrote:
> I've set up Capistrano to deploy my Hobo 0.8.5+ app to a mongrel_rails
> staging server running the production environment.  When I deploy, the
> auto/rapid tags aren't generated.
>
> Is this expected behavior?  Should I check the auto tags into revision
> control?  I've never had any problem with the auto/rapid tags being
> generated during development.
>
> The workaround is easy: start the app once in development mode to
> generate the tags, then start the app in production mode.  Makes cap
> deploy more laborious but it seems to work.  I'd like to implement a
> better fix of course.  :)
>
>     - Scott
>
> Exact Hobo revision: 8e7a67b16912
> Trace of the error when Hobo is starting up:
>
> # Logfile created on Wed Jan 28 18:42:50 -0500 2009
>
> Processing FrontController#index (for 75.37.35.102 at 2009-01-28 18:48:14) 
> [GET]
> Rendering front/index
>   DRYML: Compiled vendor/plugins/hobo/hobo/taglibs/core.dryml in 0.02s
>   DRYML: Compiled vendor/plugins/hobo/hobo/taglibs/rapid_core.dryml in 0.21s
>   DRYML: Compiled vendor/plugins/hobo/hobo/taglibs/rapid_support.dryml in 
> 0.01s
>   DRYML: Compiled
> vendor/plugins/hobo/hobo/taglibs/rapid_document_tags.dryml in 0.04s
>   DRYML: Compiled vendor/plugins/hobo/hobo/taglibs/rapid_pages.dryml in 0.19s
>   DRYML: Compiled vendor/plugins/hobo/hobo/taglibs/rapid_editing.dryml in 
> 0.07s
>   DRYML: Compiled vendor/plugins/hobo/hobo/taglibs/rapid_forms.dryml in 0.27s
>   DRYML: Compiled
> vendor/plugins/hobo/hobo/taglibs/rapid_navigation.dryml in 0.07s
>   DRYML: Compiled vendor/plugins/hobo/hobo/taglibs/rapid_plus.dryml in 0.07s
>   DRYML: Compiled vendor/plugins/hobo/hobo/taglibs/rapid_generics.dryml in 
> 0.02s
>   DRYML: Compiled
> vendor/plugins/hobo/hobo/taglibs/rapid_lifecycles.dryml in 0.01s
>   DRYML: Compiled vendor/plugins/hobo/hobo/taglibs/rapid.dryml in 0.96s
>
> ActionView::TemplateError (No such taglib:
> /home/dev/rails.example.com/releases/20090128234249/app/views
> {:template_dir=>"app/views/taglibs", :src=>"taglibs/auto/rapid/cards",
> :type=>:include}
> /home/dev/rails.example.com/releases/20090128234249/app/views/taglibs/auto/rapid/cards.dryml)
> in app/views/front/index.dryml:
>
>     vendor/plugins/hobo/hobo/lib/hobo/dryml/taglib.rb:51:in `taglib_filename'
>     vendor/plugins/hobo/hobo/lib/hobo/dryml/taglib.rb:17:in `get'
>     vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_builder.rb:124:in
> `import_taglib'
>     vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_builder.rb:94:in `build'
>     vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_builder.rb:78:in `each'
>     vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_builder.rb:78:in `build'
>     vendor/plugins/hobo/hobo/lib/hobo/dryml/template.rb:74:in `compile'
>     vendor/plugins/hobo/hobo/lib/hobo/dryml/taglib.rb:98:in `load'
>     vendor/plugins/hobo/hobo/lib/hobo/dryml/taglib.rb:60:in `initialize'
>     vendor/plugins/hobo/hobo/lib/hobo/dryml/taglib.rb:20:in `new'
>     vendor/plugins/hobo/hobo/lib/hobo/dryml/taglib.rb:20:in `get'
>     vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_builder.rb:124:in
> `import_taglib'
>     vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_builder.rb:76:in `build'
>     vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_builder.rb:76:in `each'
>     vendor/plugins/hobo/hobo/lib/hobo/dryml/dryml_builder.rb:76:in `build'
>     vendor/plugins/hobo/hobo/lib/hobo/dryml/template.rb:74:in `compile'
>     vendor/plugins/hobo/hobo/lib/hobo/dryml.rb:152:in `compile_renderer_class'
>     vendor/plugins/hobo/hobo/lib/hobo/dryml.rb:138:in `make_renderer_class'
>     vendor/plugins/hobo/hobo/lib/hobo/dryml.rb:91:in `page_renderer'
>     vendor/plugins/hobo/hobo/lib/hobo/dryml.rb:63:in
> `page_renderer_for_template'
>     vendor/plugins/hobo/hobo/lib/hobo/dryml/template_handler.rb:19:in
> `render_for_rails22'
>     vendor/plugins/hobo/hobo/lib/hobo/dryml/template_handler.rb:110:in
> `render_dryml'
>     vendor/plugins/hobo/hobo/lib/hobo/dryml/template_handler.rb:88:in `render'
>     vendor/rails/actionpack/lib/action_view/template.rb:73:in 
> `render_template'
>     vendor/rails/actionpack/lib/action_view/base.rb:256:in `render'
>     vendor/rails/actionpack/lib/action_controller/base.rb:1174:in
> `render_for_file_without_dryml'
>     vendor/plugins/hobo/hobo/lib/hobo/dryml/template_handler.rb:67:in
> `render_for_file'
>     vendor/rails/actionpack/lib/action_controller/base.rb:896:in
> `render_without_benchmark'
>     vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in 
> `render'
>     vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:in
> `realtime'
>     vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in 
> `render'
>     vendor/rails/actionpack/lib/action_controller/base.rb:868:in
> `render_without_benchmark'
>     vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in 
> `render'
>     vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:in
> `realtime'
>     vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in 
> `render'
>     vendor/rails/actionpack/lib/action_controller/base.rb:1248:in
> `default_render'
>     vendor/rails/actionpack/lib/action_controller/base.rb:1254:in
> `perform_action_without_filters'
>     vendor/rails/actionpack/lib/action_controller/filters.rb:617:in
> `call_filters'
>     vendor/rails/actionpack/lib/action_controller/filters.rb:638:in
> `run_before_filters'
>     vendor/plugins/hobo/hobo/lib/hobo/controller.rb:22:in `call'
>     vendor/plugins/hobo/hobo/lib/hobo/controller.rb:22:in `included_in_class'
>     vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in `call'
>     vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in
> `evaluate_method'
>     vendor/rails/actionpack/lib/action_controller/filters.rb:184:in `call'
>     vendor/rails/actionpack/lib/action_controller/filters.rb:635:in
> `run_before_filters'
>     vendor/rails/actionpack/lib/action_controller/filters.rb:615:in
> `call_filters'
>     vendor/rails/actionpack/lib/action_controller/filters.rb:610:in
> `perform_action_without_benchmark'
>     vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
> `perform_action_without_rescue'
>     /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
>     vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
> `perform_action_without_rescue'
>     vendor/rails/actionpack/lib/action_controller/rescue.rb:136:in
> `perform_action_without_caching'
>     vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in
> `perform_action'
>     
> vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in
> `cache'
>     vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
>     vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in
> `perform_action'
>     vendor/rails/actionpack/lib/action_controller/base.rb:524:in `send'
>     vendor/rails/actionpack/lib/action_controller/base.rb:524:in
> `process_without_filters'
>     vendor/rails/actionpack/lib/action_controller/filters.rb:606:in
> `process_without_session_management_support'
>     vendor/rails/actionpack/lib/action_controller/session_management.rb:134:in
> `process'
>     vendor/rails/actionpack/lib/action_controller/base.rb:392:in `process'
>     vendor/rails/actionpack/lib/action_controller/dispatcher.rb:183:in
> `handle_request'
>     vendor/rails/actionpack/lib/action_controller/dispatcher.rb:110:in
> `dispatch_unlocked'
>     vendor/rails/actionpack/lib/action_controller/dispatcher.rb:123:in
> `dispatch'
>     vendor/rails/actionpack/lib/action_controller/dispatcher.rb:122:in
> `synchronize'
>     vendor/rails/actionpack/lib/action_controller/dispatcher.rb:122:in
> `dispatch'
>     vendor/rails/actionpack/lib/action_controller/dispatcher.rb:132:in
> `dispatch_cgi'
>     vendor/rails/actionpack/lib/action_controller/dispatcher.rb:39:in 
> `dispatch'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:76:in
> `process'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in
> `synchronize'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in
> `process'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in
> `process_client'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in
> `process_client'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in 
> `initialize'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in 
> `initialize'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
>     
> /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in
> `run'
>     
> /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in
> `each'
>     
> /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in
> `run'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in
> `run'
>     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
>     /usr/bin/mongrel_rails:19:in `load'
>     /usr/bin/mongrel_rails:19
>
> Rendering /home/dev/rails.example.com/releases/20090128234249/public/500.html
> (500 Internal Server Error)
--~--~---------~--~----~------------~-------~--~----~
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