How do you use acts_as_ferret without rails?

I am currently using activerecord without rails and I’d like to use the
acts_as_ferret plugin as it works well with activerecord.

How do I take advantage of the acts_as_ferret without rails installed?

Is this possible? If someone could provide me with direction on how
this would be done, that would be greatly appreciated.

I assume that since active record works without rails that all the
acts_as plugins would work as well…

Thanks in advance to all response.

Cheers,
Henry

At first sight, you would just need to require acts_as_ferret/lib/
acts_as_ferret.

This file will do

ActiveRecord::Base.class_eval do
include FerretMixin::Acts::ARFerret
end

and thus merge the acts_as_ferret code into the ActiveRecord base class.