Thanks. It turned out I had an old version of hobo (0.8.5) installed,
which I'd forgotten about from my last look at it. I removed that,
deleted the app and re-ran the hobo command, and everything
worked. This looks good! I've been extensively using ActiveScaffold,
but this looks even better.

cheers

Mike

On Jun 27, 8:03 pm, Matt Jones <[email protected]> wrote:
> I'd recommend that you sort out your gem / plugin issues first - I see  
> hobosupport-0.8.8 loading, with the main hobo coming from vendor/
> plugins. The file that's giving you an error (in vendor/plugins/hobo)  
> was deleted back in June of 2008. It also seems odd that some of the  
> pieces of Rails are loading from /opt/local/lib/ruby/gems, and others  
> from ~/.gem.
>
> How are you running the script/generate and getting a fairly ancient  
> version in vendor/plugins? Is this an existing app?
>
> --Matt Jones
>
> On Jun 27, 2009, at 2:03 PM, [email protected] wrote:
>
>
>
> > I'm just starting with hobo, and attempted to follow
> > the 'Hobo in Two Minutes' tutorial. As I tried to
> > run hobo thingybob, I got an exception thus...
>
> > Initialising Hobo...
> > --> ruby script/generate hobo --add-gem --add-routes
> > /opt/local/lib/ruby/gems/1.8/gems/hobosupport-0.8.8/lib/hobo_support/
> > fixes/module.rb:14:in `alias_method': undefined method `render_file'
> > for class `ActionView::Base' (NameError)
> >        from /opt/local/lib/ruby/gems/1.8/gems/hobosupport-0.8.8/lib/
> > hobo_support/fixes/module.rb:14:in `alias_method_chain'
> >        from /Users/michaelkarliner/work/thingybob/vendor/plugins/hobo/
> > lib/action_view_extensions/base.rb:10
> >        from /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> > custom_require.rb:31:in `gem_original_require'
> >        from /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> > custom_require.rb:31:in `require'
> >        from /Users/michaelkarliner/.gem/ruby/1.8/gems/
> > activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
> > `require'
> >        from /Users/michaelkarliner/.gem/ruby/1.8/gems/
> > activesupport-2.3.2/lib/active_support/dependencies.rb:521:in
> > `new_constants_in'
> >        from /Users/michaelkarliner/.gem/ruby/1.8/gems/
> > activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
> > `require'
> >        from /Users/michaelkarliner/work/thingybob/vendor/plugins/hobo/
> > init.rb:15:in `evaluate_init_rb'
> >         ... 14 levels...
> >        from /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/
> > commands/generate.rb:1
> >        from /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> > custom_require.rb:31:in `gem_original_require'
> >        from /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> > custom_require.rb:31:in `require'
> >        from script/generate:3
>
> > The culprit seems to be  thingybob/vendor/plugins/hobo/lib/
> > action_view_extensions/base.rb
>
> > which contains the render_file.
>
> > I'm using Rails 2.3.2.
>
> > Any insights would be much appreciated.
>
> > Mike
--~--~---------~--~----~------------~-------~--~----~
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