Great news, Punit.
Thanks for your pointers on LD_LIBRARY_PATH. I've got a few other updates ready to merge into the README file in SVN; I'll add library path settings to the changes I'm collecting.
-- John
On Jun 5, 2006, at 6:50 AM, Punit Rathore wrote: John, Finally, success. Thanks for your help, including installation of swig. However, one crutial step that was still missing was the setting the LD_LIBRARY_PATH in instiki.sh. You see the problem was that my default LD_LIBRARY_PATH did not have /usr/lib;/usr/local/lib in it. Now you might say that its pretty basic to check that if its true, but I beg to differ. My suggestion is that the next release README shuld include the instructions to check for the LD_LIBRARY_PATH setting.
Punit
mm. Doing an install on a Mac OS X 10.4.6 system with the following prequisites installled works just fine: * ruby 1.8.4 * the sqlite3-ruby gem * the sqlite3 libraries * swig (
http://www.swig.org/) swig is required for sqlite3 *nix and Mac OS X systems, otherwise the sqlite3-ruby gem reverts to a broken pure ruby implementation. :-P
My sequence for setup with the above prerequisites installed:
0) tar xzf instiki-0.11.0.tgz 1) cd instiki-0.11.0 2) rake environment RAILS_ENV=production db_schema_import 3) For Mac OS X/*nix: script/server -e production -p 2500 For Windows: instiki.cmd
note that doing "rake ... db_schema_import" effectively does the same
thing as "rake ... migrate", except that it does it in one step from schema.rb, and it creates/clears the sqlite3 db file as needed.
At that point, I can connect to
http://localhost:2500/ and I get the initial wiki page just fine.
If you're still having trouble, please post what platform you're on (w.g. Win2k, etc.) and the precise steps you follow. I'll see if I
can repro on a similar system.
-- John
_______________________________________________ Instiki-users mailing list
|
_______________________________________________
Instiki-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/instiki-users