when I do hobo as a plugin, I do standard rails app, then script/
plugin install git://github.com/tablatom/hobo.git (I think, going from
memory), rake hobo:run_standard_generators... and lately, make sure
hobo gem isn't loaded in environment.rb and that the Rakefile doesn't
point to the wrong location for hobo tasks.

On May 21, 2:57 am, Spiralis <[email protected]> wrote:
> I am trying to make a new rails app (2.3.5) use hobo edge. I am
> however experiencing problems. I am trying to follow the recipe 
> onhttp://cookbook.hobocentral.net/tutorials/hobo-as-plugin, but the
> procedure fails.
>
> When I get to "Run hobo command" it says that it may fail, and not to
> worry because the next steps will fix this. Yes, it fails, but when I
> do these next two steps, it still fails.
>
> The failure leads me to think that it doesn't use the latest sources
> in the "pluginified" hobo. Here's the error:
>
> C:\dev\TLC>hobo --no-rails
>
> Initialising Hobo...
> --> C:/Ruby/bin/ruby script/generate hobo --add-gem --add-routes
> C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:
> 119:Warning: Gem::Dependency#version_requirements is deprecated and
> will be removed on or after A
> ugust 2010.  Use #requirement
> C:/dev/TLC/vendor/plugins/hobo/hobo/rails/../lib/hobo.rb:106:in
> `enable': wrong number of arguments (2 for 0) (ArgumentError)
>         from C:/dev/TLC/vendor/plugins/hobo/hobo/rails/../lib/hobo.rb:
> 106:in `enable'
>         from C:/dev/TLC/vendor/plugins/hobo/hobo/rails/init.rb:10:in
> `evaluate_init_rb'
>         from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/
> plugin.rb:158:in `evaluate_init_rb'
>         from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
> active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
>         from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/
> plugin.rb:154:in `evaluate_init_rb'
>         from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/
> plugin.rb:48:in `load'
>         from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/
> plugin/loader.rb:38:in `load_plugins'
>         from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/
> plugin/loader.rb:37:in `each'
>          ... 8 levels...
>         from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/
> generate.rb:1
>         from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 31:in `gem_original_require'
>         from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 31:in `require'
>         from script/generate:3
>
> and then repeats the same error for each "action" it tries to execute.
>
> On inspection I see that it fails on the Dryml.enable call on line 106
> in hobo.rb. The actual source does indeed take two arguments, but hobo
> somehos has a Dryml.enable with zero arguments defined. So, it seems
> to me that it has loaded my gem version of Dryml instead of the vendor
> \plugins Dryml.
>
> Any solutions?
>
> --
> 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 
> athttp://groups.google.com/group/hobousers?hl=en.

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