From simon.heres at biola.edu Fri Jul 6 05:36:38 2007 From: simon.heres at biola.edu (simon.heres at biola.edu) Date: Fri, 06 Jul 2007 02:36:38 -0700 Subject: [Instiki] Instiki-users Digest... (please authenticate) Message-ID: Hello, You?ve just sent your first email to me since I?ve installed Bsafe Online?s spam killer. For this first time only, please help me add your email address to my approved sender list. Simply reply to this email with the following code in the subject line of your reply. c13af44a Thanks for your help! simon.heres at biola.edu From f.middleton at apogeect.com Sun Jul 15 09:18:31 2007 From: f.middleton at apogeect.com (Frank Middleton) Date: Sun, 15 Jul 2007 09:18:31 -0400 Subject: [Instiki] instiki-0.11.pl1 running on Solaris with mysql Message-ID: <469A1EA7.5050907@apogeect.com> > uname -a SunOS apogee6 5.9 Generic_118558-35 sun4u sparc SUNW,Ultra-80 > ruby --version ruby 1.8.6 (2007-03-13 patchlevel 0) [sparc-solaris2.9] > mysql --version /usr/local/mysql/bin/mysql Ver 14.12 Distrib 5.0.41, for sun-solaris2.9 (sparc) using readline 5.0 > gem --version 0.9.4 > gcc --version gcc (GCC) 4.1.1 These were the additional steps needed to make this work (note: it doesn't seem to be worth the effort trying to get 64 bit mysql to work with ruby since it would seem that you'd have to build a 64 bit ruby to do so)): > Give up and install 32 bit mysql > rm -r vendor (otherwise rake fails on DIGEST) > rake environment RAILS_ENV=production db:migrate > instiki ... ... ^C > instiki Up and running! But if I add new pages in one HTTP session, another http session doesn't seem to see the changes unless I restart the mini web server. It seems like WEBrick 1.3.1 is somehow caching pages so that updates don't make it so you have to keep restarting it. I would test it with mongrel (which worked fine with another RoR application) but: However I need to run it as CGI because of hosting complications (my ISP doesn't support Ruby yet) Now it gets messy ./public/dispatch.cgi and ./public/dispatch.fcgi both start out with #!c:/ruby/bin/ruby^M ^M not good start :-) > dos2unix /public/dispatch.cgi /public/dispatch.cgi > edit public/dispatch.cgi to fix paths This isn't working. Has anyone been able to get instiki to run as CDI on any platform? It looks like it needs vendor/rails, which doesn't compile... /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:404:in `to_constant_name': Anonymous modules have no name to be referenced by (ArgumentError) from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:214:in `qualified_name_for' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:476:in `const_missing' from /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:117:in `reset_after_dispatch' from /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:51:in `dispatch' from ./dispatch.cgi:10 Back to Perl, I guess :-(