Hey guys,

It has occurred to me that a lot of people need some of the fixes I
make to Ferret ASAP and don't like having to wait to long for the gem.
On the other hand, it is a bit of a pain to download and install from
subversion because then you need to uninstall when the next gem comes
out. So I thought I may as well put some instructions out as to how
you can build your own Ferret gem that will get overridden by the next
official version to come out. Here goes:

    $ svn co svn://www.davebalmain.com/exp/ ferret
    $ cd ferret/ruby/

Now optionally run the tests to make sure I haven't checked any dodgy
changes in:

    $ rake

build the gem. REL should be the current release and then append 0.1.
If you do this a second time between release append 0.2 and so on. The
current version is 0.10.5 so we'll build 0.10.5.1:

    $ rake package REL=0.10.5.1
    $ cd pkg
    $ ls -l
  drwxr-xr-x 5 dbalmain dbalmain   4096 2006-09-21 02:28 ferret-0.10.5.1
  -rw-r--r-- 1 dbalmain dbalmain 415744 2006-09-21 02:28 ferret-0.10.5.1.gem
  -rw-r--r-- 1 dbalmain dbalmain 233614 2006-09-21 02:28 ferret-0.10.5.1.tgz
  -rw-r--r-- 1 dbalmain dbalmain 281737 2006-09-21 02:28 ferret-0.10.5.1.zip
    $ sudo gem install ferret-0.10.5.1.gem

If you find any mistakes here please let me know. I've also added it
to the wiki here:

    http://ferret.davebalmain.com/trac/wiki/DownloadCurrent

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

Reply via email to