http://wiki.rubyonrails.com/rails/pages/HowtoUseSQLite says
(boiled down a bit):
% sudo port install swig
% sudo gem install sqlite3-ruby
1. sqlite3-ruby 1.1.0 (ruby)
2. sqlite3-ruby 1.1.0 (mswin32)
...
==> Choose the highest-numbered "(ruby)" version.
So I did that, without apparent errors. I also installed
and built ruby-1.8.4, for good measure (this may have been
a mistake). Then I tried running Instiki again:
% instiki
/usr/local/lib/ruby/1.8/webrick/httputils.rb:11:in `require'':
no such file to load -- socket (LoadError)
from /usr/local/lib/ruby/1.8/webrick/httputils.rb:11
from /usr/local/lib/ruby/1.8/webrick/config.rb:13
from /usr/local/lib/ruby/1.8/webrick.rb:14
from ./script/server:3
from instiki:6
So far the non-existent step 3 has taken me through several
hours of hunt-the wumpus. In fact, I seem to be worse off
than I was earlier (at least, the server started up before).
In case the ruby-1.8.4 install had broken things, I tried to
redo the swig and sqlite3 install, but the latter failed:
% sudo port install swig
Password:
---> Unpacking tgz archive for swig 1.3.27_0+darwin_8
---> Cleaning swig
% sudo gem install sqlite3-ruby
/usr/bin/gem:3:in `require'': no such file to load --
rubygems (LoadError)
from /usr/bin/gem:3
So, I continue to be hosed... Help?
-r
--
Technical editing and writing, programming, and web development:
http://www.cfcl.com/rdm/resume
Contact information: rdm at cfcl.com, +1 650-873-7841