*Chris Gehlker* <canyonrat at mac.com> wrote: > On Jul 13, 2006, at 7:22 AM, Simon Dorfman wrote:> >/ Jason Howard wrote:// > />>/ When I try loading: http://127.0.0.1:2500/ or: http://localhost:2500 > />>/ in my browser, I get a blank white screen. > />/ > />/ Hi Jason, I have the same problem on WinXP.// > / > It''s hard to believe that you two are the only ones trying to run > Instiki on Windows.It''s not a Windows problem; it doesn''t work on Linux either. I just downloaded Instiki, untarred it, went into the directory and ran ./instiki. I go to the top level page, and get a totally blank page (no HTML returned at all). $ ./instiki => Instiki started on http://0.0.0.0:2500 => Ctrl-C to shutdown; call with --help for options [2006-07-13 12:30:54] INFO WEBrick 1.3.1 [2006-07-13 12:30:54] INFO ruby 1.8.4 (2005-12-24) [i486-linux] [2006-07-13 12:30:54] INFO WEBrick::HTTPServer#start: pid=22931 port=2500 127.0.0.1 - - [13/Jul/2006:12:30:59 CDT] "GET / HTTP/1.1" 500 0 - -> / 127.0.0.1 - - [13/Jul/2006:12:31:01 CDT] "GET / HTTP/1.1" 500 0 - -> / Here''s the output from curl -D - http://localhost:2500 HTTP/1.1 500 Internal Server Error Connection: Keep-Alive Date: Thu, 13 Jul 2006 17:37:31 GMT Server: WEBrick/1.3.1 (Ruby/1.8.4/2005-12-24) Content-Length: 0 Nothing useful in the logs. So something in the current release version of Instiki is broken. I''m using the database.yml that came with instiki. It is successfully creating a sqlite database in db/. It just isn''t working. Are you telling me that if you download instiki-0.11.0 and unpack it and run it on your system, as is in a fresh directory, it works? mathew
On Jul 16, 2006, at 1:47 PM, mathew wrote:> Nothing useful in the logs. > > So something in the current release version of Instiki is broken. > > I''m using the database.yml that came with instiki. It is successfully > creating a sqlite database in db/. It just isn''t working. > > Are you telling me that if you download instiki-0.11.0 and unpack > it and > run it on your system, as is in a fresh directory, it works?Yep Here is exactly what I did: Updated Ruby to 1.8.4 (because I have OSX and it only comes with 1.8.2) Updated my .bashrc file to put /usr/local/bin at the start of my PATH (so ''which ruby'' returns ''/usr/local/bin/ruby'' ) Downloaded, built and installed SWIG (the documentation on the Instiki site said that this was needed for OSX). Used gem to install the SQLite3 adapter. Downloaded instiki-0.11.0.tgz to my desktop Double-clicked the .tgz file Dragged the instiki-0.11.0 folder into my home directory Fired up terminal and typed: cd inst<tab> ./inst<tab> Launched Safari and typed <Cmd>-L localhost:2500 <ret> Started answering the questions to create my wiki. It''s running right now, on port 80, in daemon mode. I''ve been collaborating with a few other people on a publication. What I did NOT do was install the latest SQLite 3. Tiger comes with 3.1.3 and that seems to do the job. I guess it''s possible that SQLite3 and the Ruby driver for it are out of synch. Other than installing SWIG and not installing SQLite 3 I just followed the README file. I don''t really have a clue why it''s not working for you but it is working for others so keep the faith. --- Neither a man nor a crowd nor a nation can be trusted to act humanely or to think sanely under the influence of a great fear. -Bertrand Russell, philosopher, mathematician, author, Nobel laureate (1872-1970)
On 7/16/06, Chris Gehlker <canyonrat at mac.com> wrote:> > What I did NOT do was install the latest SQLite 3. Tiger comes with > 3.1.3 and that seems to do the job. I guess it''s possible that > SQLite3 and the Ruby driver for it are out of synch.Aha! I''ve found my problem! On Debian-based Linux distributions, sqlite support isn''t part of the base Ruby package. I installed libsqlite3-ruby1.8 and suddenly everything worked. This probably needs mentioning on the instiki web site... mathew -- <URL:http://www.pobox.com/~meta/> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20060717/453c7c9c/attachment.html
On 7/17/06 8:17 AM, "mathew" <meta at pobox.com> wrote:> On 7/16/06, Chris Gehlker <canyonrat at mac.com> wrote: >> >> What I did NOT do was install the latest SQLite 3. Tiger comes with >> 3.1.3 and that seems to do the job. I guess it''s possible that >> SQLite3 and the Ruby driver for it are out of synch. > > > > Aha! I''ve found my problem! > > On Debian-based Linux distributions, sqlite support isn''t part of the base > Ruby package. I installed libsqlite3-ruby1.8 and suddenly everything worked. > > This probably needs mentioning on the instiki web site...Excellent idea. Go ahead, after all, the site is an Instiki wiki... ;)> > > mathew-- Daryl? self.email = daryl.at( eddl.us )
On Jul 17, 2006, at 5:17 AM, mathew wrote:> Aha! I''ve found my problem! > > On Debian-based Linux distributions, sqlite support isn''t part of > the base Ruby package. I installed libsqlite3-ruby1.8 and suddenly > everything worked.Great! I''m glad you solved the Linux problem. Now for Windows... -- No matter how far you have gone on the wrong road, turn back. -Turkish proverb -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20060717/c4ebd4fe/attachment.html
Chris Gehlker wrote:> > On Jul 17, 2006, at 5:17 AM, mathew wrote: > >> Aha! I''ve found my problem! >> >> On Debian-based Linux distributions, sqlite support isn''t part of the >> base Ruby package. I installed libsqlite3-ruby1.8 and suddenly >> everything worked. > > > Great! I''m glad you solved the Linux problem. Now for Windows...Thanks to mathew''s Debian tip above, I googled for libsqlite3-ruby1.8 and windows and found this page: http://code.whytheluckystiff.net/camping/wiki/BeAlertWhenOnSqlite3 Following his steps seemed to solve my blank page problem: 1. Download: http://sqlite.org/sqlitedll-3_3_5.zip (the DLL, command line executable is a separate download) 2. Unzip into your $RUBY/bin directory. 3. gem install sqlite3-ruby 4. Choose the most recent mswin32 version: 1. sqlite3-ruby X.Y.Z (mswin32) Yay.