On Mar 5, 2009, at 4:37 PM, eg wrote:

I found the migration process (on Windows) from 0.10.2 to 0.16.3 to be particularly painful

I'm amazed you were able to do it at all.

I confess that I have no knowledge whatsoever of pre-ActiveRecord versions of Instiki (really, anything pre-0.11), and so those migration scripts are bound to have suffered from bit-rot.

(and at the end I still have a lot of orphaned pages).

Some things I hit:

- had to manually issue "gem install rack"

Will not be necessary. Rails 2.3.1 (and hence Instiki 0.16.4) bundle Rack 1.0, and the bundled version of Rack is (I believe) properly detected under Windows (unlike the situation in Instiki 0.16.3).

- had to manually install sqlite ... i also used gem install to get native sqlite bindings (due to some warnings) but the latest sqlite3- ruby (1.2.4) requires you to compile sqlite / ruby from sources. I had to install sqlite3-ruby 1.2.3 instead which didnt impose this requirement

That I pretty much expect.

On other platforms (Linux, MacOSX 10.4 and earlier), you have to install various prerequisites, including the sqlite3-ruby bindings. It would be strange if you could evade doing that under Windows. Have a look at these instructions

    http://golem.ph.utexas.edu/instiki/show/Installation

and feel free to add to the (rudimentary to nonexistent) Windows instructions.

- the migration read me gives example for windows to run script \import_storage which uses "\" slashes in the directory names, but the script requires that you use "/" slashes or it generates errors.

- the script reset_references is pointed at the development database and not the production database contrary to what the readme states. You can either edit the second line of the script and change 'development' to 'production' or copy your database to the development referenced one in database.yml...

- I also was getting errors from reset_references in the line that reads (I cant recall the error message):
Web.find_all.each do |web|

I had to change this to:
Web.find(:all).each do |web|

This is the sort of bit-rot I was talking about. I'd be happy to fix these things, but I don't have a testbed platform to make sure they stay fixed.

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
Instiki-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/instiki-users

Reply via email to