Wagn 0.9+Upgrade Notes
- You will need to install json gem!
/* sudo gem install json */ - for testing, you need flexmock gem
- memory_cache is giving us some grief, so add this to config/wagn.rb
ActionController::Base.fragment_cache_store = :file_store
(mem_cache also works, if you've got it installed) - fulltext search is now supported in postgres (see below)
Installing postgres fulltext search
requires: postgres 8.2.x
- install tsearch2
/* cd $PSQL_SRC_DIR/contrib/tsearch2/ */
/* make */
/* sudo make install *//* sudo -u postgres make installcheck */
- configure wagn.rb
/* System.enable_postgres_fulltext = true */
/* System.postgres_src_dir = "$PSQL_SRC_DIR" */ - /* rake wagn:prepare_fulltext */
this step makes a number of assumptions- that you have sudo permissions,
there is a user postgres with priveleges to add c-functions to the db. etc.
if these cause trouble, edit lib/tasks/prepare_fulltext.rake