Hobo 1.0RC2 (0.9.103) released

1 view
Skip to first unread message

Bryan Larsen

unread,
Dec 10, 2009, 12:43:58 PM12/10/09
to Hobo Users

Owen

unread,
Dec 10, 2009, 1:03:18 PM12/10/09
to Hobo Users
Bryan,

I just inatalled it. It appears to need Rack 1.0.1 to work correctly
with Rails 2.3.5.

I had to update the rack gem to not get an error creating a new Hobo
app.

-Owen

On Dec 10, 12:43 pm, Bryan Larsen <bryan.lar...@gmail.com> wrote:
> Enjoy.  http://hobocentral.net/blog/2009/12/10/hobo-1-0rc2-released/
>
> Bryan

Matt Jones

unread,
Dec 10, 2009, 1:04:57 PM12/10/09
to hobo...@googlegroups.com

On Dec 10, 2009, at 1:03 PM, Owen wrote:

> Bryan,
>
> I just inatalled it. It appears to need Rack 1.0.1 to work correctly
> with Rails 2.3.5.
>
> I had to update the rack gem to not get an error creating a new Hobo
> app.
>
> -Owen
>

This is actually a Rails bug - the actionpack gemspec only calls for
Rack 1.0.0, but the file that loads it requests 1.0.1. Ticketed as
#3558 on Rails Lighthouse.

--Matt Jones

Owen

unread,
Dec 10, 2009, 1:25:50 PM12/10/09
to Hobo Users
Cool. Thanks, Matt.

blueHandTalking

unread,
Dec 10, 2009, 8:53:17 PM12/10/09
to Hobo Users
Everything seems to be fine,

except that when I run

rake hobo:run_standard_generators

I get an error for

invalid option: --import-tags

...of course there is good chance
I do not have something configured right.

I am using as a plugin for Rails v.2.3.2


It's great, Thanks!

Oh, my wish list would be if you could incorporate
the feckless-fieldset into rapid-core. That has
been very useful.

Jet

Owen

unread,
Dec 11, 2009, 8:05:53 AM12/11/09
to Hobo Users
I vote for feckless-fieldset in Hobo 1.+

François Beausoleil

unread,
Dec 15, 2009, 9:04:53 AM12/15/09
to Hobo Users
Hey Bryan,

I must be stupid or something:

$ gem list -r hobo

*** REMOTE GEMS ***

hobo (0.9.103)
hobo-support (0.1)
hobofields (0.9.103)
hobosupport (0.9.103)
09:00

$ gem sources
*** CURRENT SOURCES ***

http://gemcutter.org
http://gems.rubyforge.org
http://gems.github.com/
http://gems.github.com
http://gems.rubyforge.org

$ gem list -l hobo

*** LOCAL GEMS ***

hobo (0.9.103, 0.8.10)
hobofields (0.9.103, 0.8.10)
hobosupport (0.9.103, 0.8.10)

In my config/environment.rb I have:

RAILS_GEM_VERSION = "2.3.5"
...
config.gem 'hobo', :version => "0.9.103"

When I visit any page of the app from the browser (after a restart,
with Rack 1.0.1), I get this:

Processing FrontController#index (for 127.0.0.1 at 2009-12-15
09:02:25) [GET]
Parameters: {"action"=>"index", "controller"=>"front"}
Rendering front/index
DRYML: Compiled /Users/francois/.rvm/gems/ruby/1.8.7/gems/
hobo-0.9.103/taglibs/core.dryml in 0.03s
DRYML: Compiled /Users/francois/.rvm/gems/ruby/1.8.7/gems/
hobo-0.9.103/taglibs/rapid_core.dryml in 0.38s
DRYML: Compiled /Users/francois/.rvm/gems/ruby/1.8.7/gems/
hobo-0.9.103/taglibs/rapid_support.dryml in 0.02s
DRYML: Compiled /Users/francois/.rvm/gems/ruby/1.8.7/gems/
hobo-0.9.103/taglibs/rapid_document_tags.dryml in 0.06s
DRYML: Compiled /Users/francois/.rvm/gems/ruby/1.8.7/gems/
hobo-0.9.103/taglibs/rapid_pages.dryml in 0.38s
DRYML: Compiled /Users/francois/.rvm/gems/ruby/1.8.7/gems/
hobo-0.9.103/taglibs/rapid_editing.dryml in 0.09s
DRYML: Compiled /Users/francois/.rvm/gems/ruby/1.8.7/gems/
hobo-0.9.103/taglibs/rapid_forms.dryml in 0.60s
DRYML: Compiled /Users/francois/.rvm/gems/ruby/1.8.7/gems/
hobo-0.9.103/taglibs/rapid_navigation.dryml in 0.07s
DRYML: Compiled /Users/francois/.rvm/gems/ruby/1.8.7/gems/
hobo-0.9.103/taglibs/rapid_plus.dryml in 0.21s
DRYML: Compiled /Users/francois/.rvm/gems/ruby/1.8.7/gems/
hobo-0.9.103/taglibs/rapid_generics.dryml in 0.04s
DRYML: Compiled /Users/francois/.rvm/gems/ruby/1.8.7/gems/
hobo-0.9.103/taglibs/rapid_lifecycles.dryml in 0.10s
DRYML: Compiled /Users/francois/.rvm/gems/ruby/1.8.7/gems/
hobo-0.9.103/taglibs/rapid_summary.dryml in 0.16s
DRYML: Compiled /Users/francois/.rvm/gems/ruby/1.8.7/gems/
hobo-0.9.103/taglibs/rapid_user_pages.dryml in 0.47s
DRYML: Compiled /Users/francois/.rvm/gems/ruby/1.8.7/gems/
hobo-0.9.103/taglibs/rapid.dryml in 2.60s
DRYML: Compiled app/views/taglibs/auto/rapid/cards.dryml in 0.41s

ActionView::TemplateError (compile error
app/views/taglibs/auto/rapid/pages.dryml:901: syntax error, unexpected
tIDENTIFIER, expecting ']'
...default=>['Type d'événements'] }"}, attributes), merge_par...
^
app/views/taglibs/auto/rapid/pages.dryml:902: syntax error, unexpected
tIDENTIFIER, expecting '}'
...index-page type d'événements"}, {}] }, all_parameters[:bod...
^
(and some more)
app/views/taglibs/auto/rapid/pages.dryml:937:in `build'
hobo (0.9.103) lib/hobo/dryml/dryml_builder.rb:78:in `each'
hobo (0.9.103) lib/hobo/dryml/dryml_builder.rb:78:in `build'
hobo (0.9.103) lib/hobo/dryml/template.rb:73:in `compile'
hobo (0.9.103) lib/hobo/dryml/taglib.rb:91:in `load'
hobo (0.9.103) lib/hobo/dryml/taglib.rb:53:in `initialize'
hobo (0.9.103) lib/hobo/dryml/taglib.rb:17:in `new'
hobo (0.9.103) lib/hobo/dryml/taglib.rb:17:in `get'
hobo (0.9.103) lib/hobo/dryml/dryml_builder.rb:121:in
`import_taglib'
hobo (0.9.103) lib/hobo/dryml/dryml_builder.rb:94:in `build'
hobo (0.9.103) lib/hobo/dryml/dryml_builder.rb:78:in `each'
hobo (0.9.103) lib/hobo/dryml/dryml_builder.rb:78:in `build'
hobo (0.9.103) lib/hobo/dryml/template.rb:73:in `compile'
hobo (0.9.103) lib/hobo/dryml/taglib.rb:91:in `load'
hobo (0.9.103) lib/hobo/dryml/taglib.rb:53:in `initialize'
hobo (0.9.103) lib/hobo/dryml/taglib.rb:17:in `new'
hobo (0.9.103) lib/hobo/dryml/taglib.rb:17:in `get'
hobo (0.9.103) lib/hobo/dryml/dryml_builder.rb:121:in
`import_taglib'
hobo (0.9.103) lib/hobo/dryml/dryml_builder.rb:76:in `build'
hobo (0.9.103) lib/hobo/dryml/dryml_builder.rb:76:in `each'
hobo (0.9.103) lib/hobo/dryml/dryml_builder.rb:76:in `build'
hobo (0.9.103) lib/hobo/dryml/template.rb:73:in `compile'
hobo (0.9.103) lib/hobo/dryml.rb:173:in `compile_renderer_class'
hobo (0.9.103) lib/hobo/dryml.rb:159:in `make_renderer_class'
hobo (0.9.103) lib/hobo/dryml.rb:112:in `page_renderer'
hobo (0.9.103) lib/hobo/dryml.rb:78:in
`page_renderer_for_template'
hobo (0.9.103) lib/hobo/dryml/template_handler.rb:19:in
`render_for_rails22'
hobo (0.9.103) lib/hobo/dryml/template_handler.rb:142:in
`render_dryml'
hobo (0.9.103) lib/hobo/dryml/template_handler.rb:138:in
`render_dryml'
hobo (0.9.103) lib/hobo/dryml/template_handler.rb:106:in `render'
hobo (0.9.103) lib/hobo/dryml/template_handler.rb:83:in
`render_for_file'
hobo (0.9.103) lib/hobo/controller.rb:23:in `call'
hobo (0.9.103) lib/hobo/controller.rb:23:in `included_in_class'

The names "Type d'événements" are coming from my viewhints. The
application will primarily be used by French people.

First question: am I on 1.0RC2 ? I did run rake
hobo:run_standard_generators and overwrote as appropriate. Prior to
this, I was using 0.8.10 on 2.3.4 with no troubles.

Where are the upgrade instructions? Have I missed them on cookbook?

Thanks!
François

Bryan Larsen

unread,
Dec 15, 2009, 10:19:36 AM12/15/09
to hobo...@googlegroups.com
Looks like a bug -- I need to be more careful with the quoting.
Please open a bug in the lighthouse and I'll take a look at it later
today.

thanks,
Bryan

Bryan Larsen

unread,
Dec 15, 2009, 12:05:04 PM12/15/09
to Hobo Users
Reply all
Reply to author
Forward
0 new messages