Hi Jens,

That looks promising and I will dig in to it when I have a chance over
the next couple of days.  However, looking through the comments people
have had problems running it on Windows.  Also, I am not sure if I can
freeze a ferret gem that will work on both Windows and Linux.  Do you
think this would be possible?

If not, i am leaning towards just tweaking my TextDrive setup to look
for gems in an additional location that is outside of my deploy
path... so I don't have to reinstall ferret every time I upload a new
version of my application.

Tom

On 4/3/06, Jens Kraemer <[EMAIL PROTECTED]> wrote:
> Hi Tom,
>
> I don't know anything about Textdrive, but maybe this helps.
>
> There is a 'freeze_other_gems' rake task at
> http://nubyonrails.com/articles/2005/12/22/freeze-other-gems-to-rails-lib-directory
> , that basically takes the gems you specify in line 4 of the file from
> your local gem repository (on your development machine) and installs
> them into lib/ of your Rails project.
>
> You can also  copy the relevant files into RAILS_ROOT/lib manually.
> I have done this with Ferret 0.3.2, works like a charm and looks like
> this:
>
> RAILS_ROOT/
>   lib/
>     ferret_ext.so
>     ferret.rb
>     ferret/
>       analysis/
>       analysis.rb
>       document/
>       document.rb
>     ...
>
>
> hth,
> Jens
>
> On Mon, Apr 03, 2006 at 08:24:14AM -0400, Tom Davies wrote:
> > I would like to give the 0.9.0 version of Ferret a try on my
> > application hosted on TextDrive.  I am currently running on the 0.3.2
> > version there.
> >
> > Does anyone have any tips on installing it locally there?  I know just
> > enough about Ruby gems to get by... but I am thinking it could be as
> > easy as passing a -i flag to specify the install location for ferret.
> > Then, the only thing I am not sure about is how to modify the ruby
> > require library search path.
> >
> > Any tips are appreciated.
> >
> > Thanks,
> > -- Tom
> >
> > http://blog.atomgiant.com
> > http://gifthat.com
> >
> > _______________________________________________
> > Ferret-talk mailing list
> > [email protected]
> > http://rubyforge.org/mailman/listinfo/ferret-talk
>
> --
> webit! Gesellschaft für neue Medien mbH          www.webit.de
> Dipl.-Wirtschaftsingenieur Jens Krämer       [EMAIL PROTECTED]
> Schnorrstraße 76                         Tel +49 351 46766  0
> D-01069 Dresden                          Fax +49 351 46766 66
> _______________________________________________
> Ferret-talk mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/ferret-talk
>


--
Tom Davies

http://blog.atomgiant.com
http://gifthat.com

_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to