Q: How do I install Instiki on Debian using the debian packaged install of Ruby?
A (2006-07-19): Here is what I had to do on Etch
apt-get install libdbd-sqlite3-ruby path/to/instiki ## NOTE: I also had the following packages installed. of which ruby is the only necessary package AFAIK ## # ruby, rdoc, rails, ri
A (out of date, from the FAQ): Here is what I had to do.
apt-get install ruby apt-get install libwebrick-ruby apt-get install libstrscan-ruby apt-get install rdoc apt-get install libzlib-ruby apt-get install libsoap-ruby1.8
Further, I needed to put “require ‘rubygems’” (before “require ‘optparse’”) in the instiki script—Medio Via
Instiki 0.10 seems to require drb:
apt-get install libdrb-ruby1.8
I had no luck with 0.10.1 using the above instructions on Mepis Linux (Debian-based). Seeing as Ubuntu is also Debian based, I tried the instructions at Instiki On Ubuntu – voila, it works.
From what I understand ruby1.8.3+ breaks things. I had to specifically install ruby1.8.2 (ruby1.8=1.8.2-7sarge2)
—Timcad
I’ve noticed when installing Instiki to run on a fresh install of Debian 3.1 and when using My SQL that you have to put the socket location in the database.yml file as /var/run/mysqld/mysqld.sock because Instiki will automatically look for /tmp/mysql.sock instead.
I’ve also noticed that you will get strange errors if DRB or RDoc are missing. Some errors you’ll receive are Error 500 or Instiki complaining about missing Constants or something similar (usually on updating a page or creating a new one, not reading).
This is on Debian 3.1 using Ruby1.8.2 and My SQL 5.1.
—Matt Todd
I have installed instiki-0.11.0 on a debian server that runs ruby on rails. I run it and i get a working webrick server that responds to requests with … empty pages. not quite sure what the error because it gives me no error messages at all. will make a note to try it out again a few versions down the road.
—jacob robbins
Jacob, i seem to be getting this same issue. running instiki0.11.0 on ubuntu5.10 with ruby 1.8.3. Have u had any luck resolving this?
—izzy f
For SQLite, try installing rake, libdbd-sqlite-ruby (which should also pull in libdbd-sqlite-ruby1.8, libsqlite3-0 and libsqlite3-ruby1.8). I assume the mysql versions of these would suffice for that backend?
—rohane
I can report the same problems as jacob & izzy above… just a blank window when I browse to port 2500. I’m trying to run instiki0.11.0 on Ruby 1.8.2 on Debian. Anyone cracked this nut?
—John Philip Green
I can confirm Jacob, Izzy, and John’s behavior. Etch / ruby 1.8.4 .deb / rails .deb / instiki 0.11.0
EDIT: Thanks Jens for the fix. I needed to only
apt-get install libdbd-sqlite3-ruby ./instiki
This solves the “blank page issue” on Debian Sarge/Ruby 1.8.2/Instiki 0.11.0:
In addition to the installs mentioned above, do as root
apt-get install libdbd-sqlite-ruby libsqlite0 libsqlite0-dev gem install --remote sqlite-ruby
My Debian doesn’t have SQLite 3, so I edit config/database.yml to use SQLite 2:
production: adapter: sqlite database: db/production.db.sqlite2
Run rake migrate to create the DB and run instiki:
$ export RAILS_ENV=production $ rake migrate $ ./instiki
—Jens Kutilek 2006-07-19
If somebody could update this page it would be a blast.. I try to run instiki on debian stable and I get the blank page problem. I have tried all the tips above, and they do not work. Some packages do not exist, I can not find out anything about what package might contain the “gem” command and simply, I am stuck.
Also, I think it would be helpful if instructions above mention what version of Debian they refer to.
—Carl Ekman 2007-03-10
Running Debian sid, i also had problems with sqlite3.
I got “unknown web”
I solved it after a litle while.
I installed sqlite3 as debian pagkages:
I installed rails and sqlite3-ruby as gems:
And lastly I removed everything from the vender folder in instiki
—Carsten Andersen 2007-04-13