Frank Middleton
2007-Jul-15 13:18 UTC
[Instiki] instiki-0.11.pl1 running on Solaris with mysql
> uname -aSunOS apogee6 5.9 Generic_118558-35 sun4u sparc SUNW,Ultra-80> ruby --versionruby 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 --version0.9.4> gcc --versiongcc (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> instikiUp 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 pathsThis 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 :-(