Thanks, Tola!
On May 5, 10:12 am, "[email protected]" <[email protected]> wrote:
> Forgot to note that in our case, we've embedded Hobo in our
> application in the vendor/plugins directory; if that's not the case
> for you, then you could tweak the code as appropriate...
>
> On May 5, 10:07 am, "[email protected]" <[email protected]> wrote:
>
> > Hello Jeff! We're running Hobo with JRuby and observed a similar
> > problem. In our case, I ended up adding some new code to the config/
> > initializers for JRuby compatibility in general and it seemed to fix
> > our problem. Maybe it might work for you:
>
> > # config/initializers/jruby_compat.rb
> > if RUBY_PLATFORM =~ /java/
> > require "#{RAILS_ROOT}/vendor/plugins/hobo/hobosupport/lib/
> > hobosupport"
> > require "#{RAILS_ROOT}/vendor/plugins/hobo/hobofields/lib/
> > hobofields"
> > require "#{RAILS_ROOT}/vendor/plugins/hobo/hobo/lib/hobo/
> > include_in_save"
> > if defined?($servlet_context)
> > require 'action_controller/dispatcher'
> > ActionController::Dispatcher.after_dispatch do
> > ActiveRecord::Base.clear_active_connections!
> > end
> > end
> > end
>
> > On May 4, 4:44 pm, Jeff Smick <[email protected]> wrote:
>
> > > Hi,
>
> > > I'm trying to run Hobo with Cucumber and Celerity. Celerity requires
> > > jruby so I'm trying to run the tests on jruby. I keep running into an
> > > error that I don't even know how to begin to debug:
>
> > > uninitialized constant Administrator::IncludeInSave
>
> > > Where "Administrator" is a model.
>
> > > Can anyone shed some light on this for me?
>
> > > Thanks,
> > > --Jeff
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---