Hello,
Trying to install Instiki. My status is that webrick works
but fcgi
doesn't. (Ie ./instiki works but ruby -d
./public/dispatch.fcgi
doesn't.) Backtrace and gem versions are at the bottom of
the email.
The backtraces have various print commands so I can see some
stuff that
is passed around in boot.rb and environment.rb, but as a
newbie I still
don't see what's wrong. My setup:
- debian sarge
- postgresql 8.1
- apache2 2.0.54-5sarge1
- libfcgi0 2.4.0-5
- ruby 1.8.4 via apt-get
- gem 0.9.0 via apt-get
- all gems via gem install, not apt install
I've tried two days worth of increasingly complicated
troubleshooting
things, ending in converting my gem from a tarball install
to a debian
package install, and then reinstalling all libraries.
Painful given
that my "Bulk updating gem source index" step
takes about an hour every
time on my virt host for some reason I don't understand.
Backtrace
situation the same. I've also seen "upgrade your
packages to versions
x1,x2,...xn and it will work" postings, but that's
likewise pretty
painful from my situation, so I prefer not to do that unless
I know it's
definitely why I'm broken.
Anybody see what's wrong?
Thanks,
Jeff Henrikson
jehenrik jhenrikson:/src/instiki-0.11.pl1$ sudo -u www-data
ruby -d
public/dispatch.fcgi
jehenrik: initializer2
Exception `LoadError' at
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27
- no such file to load -- initializer
jehenrik: initializer2end
ruby_loadpath:
./test/mocks/development
./app/controllers/
./app
./app/models
./app/controllers
./app/helpers
./app/apis
./components
./config
./lib
./vendor
/var/lib/gems/1.8/gems/rails-1.1.6/bin
/var/lib/gems/1.8/gems/rails-1.1.6/lib
/var/lib/gems/1.8/gems/actionwebservice-1.1.6/bin
/var/lib/gems/1.8/gems/actionwebservice-1.1.6/lib
/var/lib/gems/1.8/gems/actionmailer-1.2.5/bin
/var/lib/gems/1.8/gems/actionmailer-1.2.5/lib
/var/lib/gems/1.8/gems/actionpack-1.12.5/bin
/var/lib/gems/1.8/gems/actionpack-1.12.5/lib
/var/lib/gems/1.8/gems/activerecord-1.14.4/bin
/var/lib/gems/1.8/gems/activerecord-1.14.4/lib
/var/lib/gems/1.8/gems/activesupport-1.3.1/bin
/var/lib/gems/1.8/gems/activesupport-1.3.1/lib
/var/lib/gems/1.8/gems/rake-0.7.3/bin
/var/lib/gems/1.8/gems/rake-0.7.3/lib
/usr/local/lib/site_ruby/1.8
/usr/local/lib/site_ruby/1.8/i386-linux
/usr/local/lib/site_ruby
/usr/lib/ruby/1.8
/usr/lib/ruby/1.8/i386-linux
.
jehenrik
1
active_record
action_controller
action_view
/var/lib/gems/1.8/gems/activesupport-1.3.1/lib/active_suppor
t/ordered_options.rb:2:
warning: method redefined; discarding old []=
/var/lib/gems/1.8/gems/activesupport-1.3.1/lib/active_suppor
t/ordered_options.rb:11:
warning: method redefined; discarding old []
/var/lib/gems/1.8/gems/activesupport-1.3.1/lib/active_suppor
t/ordered_options.rb:16:
warning: method redefined; discarding old keys
/var/lib/gems/1.8/gems/activesupport-1.3.1/lib/active_suppor
t/ordered_options.rb:21:
warning: method redefined; discarding old find_pair
/var/lib/gems/1.8/gems/activesupport-1.3.1/lib/active_suppor
t/ordered_options.rb:28:
warning: method redefined; discarding old []=
/var/lib/gems/1.8/gems/activesupport-1.3.1/lib/active_suppor
t/ordered_options.rb:32:
warning: method redefined; discarding old []
/var/lib/gems/1.8/gems/activesupport-1.3.1/lib/active_suppor
t/ordered_options.rb:36:
warning: method redefined; discarding old method_missing
/var/lib/gems/1.8/gems/activerecord-1.14.4/lib/active_record
/validations.rb:334:
warning: `*' interpreted as argument prefix
/var/lib/gems/1.8/gems/activerecord-1.14.4/lib/active_record
/validations.rb:363:
warning: `*' interpreted as argument prefix
/var/lib/gems/1.8/gems/activerecord-1.14.4/lib/active_record
/migration.rb:224:
warning: instance variable ignore_new_methods not
initialized
/var/lib/gems/1.8/gems/activerecord-1.14.4/lib/active_record
/migration.rb:224:
warning: instance variable ignore_new_methods not
initialized
/var/lib/gems/1.8/gems/activerecord-1.14.4/lib/active_record
/connection_adapters/abstract/connection_specification.rb:41
:
warning: method redefined; discarding old
allow_concurrency=
/var/lib/gems/1.8/gems/activerecord-1.14.4/lib/active_record
/connection_adapters/sqlserver_adapter.rb:456:
warning: method redefined; discarding old remove_column
Exception `MissingSourceFile' at
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27 - no such
file to load
-- db2/db2cli
Exception `MissingSourceFile' at
/usr/lib/ruby/1.8/rubygems/custom_require.rb:35 - no such
file to load
-- db2/db2cli
Exception `MissingSourceFile' at
/var/lib/gems/1.8/gems/activesupport-1.3.1/lib/active_suppor
t/dependencies.rb:150
- no such file to load -- db2/db2cli
/var/lib/gems/1.8/gems/activerecord-1.14.4/lib/active_record
/connection_adapters/oracle_adapter.rb:119:
warning: (...) interpreted as grouped expression
Exception `MissingSourceFile' at
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27 - no such
file to load
-- oci8
Exception `MissingSourceFile' at
/usr/lib/ruby/1.8/rubygems/custom_require.rb:35 - no such
file to load
-- oci8
Exception `MissingSourceFile' at
/var/lib/gems/1.8/gems/activesupport-1.3.1/lib/active_suppor
t/dependencies.rb:150
- no such file to load -- oci8
Exception `MissingSourceFile' at
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27 - no such
file to load
-- oci8
Exception `MissingSourceFile' at
/usr/lib/ruby/1.8/rubygems/custom_require.rb:35 - no such
file to load
-- oci8
Exception `MissingSourceFile' at
/var/lib/gems/1.8/gems/activesupport-1.3.1/lib/active_suppor
t/dependencies.rb:150
- no such file to load -- oci8
Exception `MissingSourceFile' at
/var/lib/gems/1.8/gems/activesupport-1.3.1/lib/active_suppor
t/core_ext/kernel/requires.rb:19
- no such file to load -- oci8
Exception `MissingSourceFile' at
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27 - no such
file to load
-- sybsql
Exception `MissingSourceFile' at
/usr/lib/ruby/1.8/rubygems/custom_require.rb:35 - no such
file to load
-- sybsql
Exception `MissingSourceFile' at
/var/lib/gems/1.8/gems/activesupport-1.3.1/lib/active_suppor
t/dependencies.rb:150
- no such file to load -- sybsql
/var/lib/gems/1.8/gems/actionpack-1.12.5/lib/action_controll
er/request.rb:171:
warning: method redefined; discarding old relative_url_root
Exception `Interrupt' at
/var/lib/gems/1.8/gems/activesupport-1.3.1/lib/active_suppor
t/core_ext/class/attribute_accessors.rb:16
-
Exception `Interrupt' at
/var/lib/gems/1.8/gems/activesupport-1.3.1/lib/active_suppor
t/dependencies.rb:150
-
Exception `Interrupt' at
/var/lib/gems/1.8/gems/activesupport-1.3.1/lib/active_suppor
t/dependencies.rb:150
-
/var/lib/gems/1.8/gems/activesupport-1.3.1/lib/active_suppor
t/core_ext/class/attribute_accessors.rb:16:in
`cattr_reader': Interrupt
from
/var/lib/gems/1.8/gems/activesupport-1.3.1/lib/active_suppor
t/core_ext/class/attribute_accessors.rb:5:in
`cattr_reader'
from
/var/lib/gems/1.8/gems/activesupport-1.3.1/lib/active_suppor
t/core_ext/class/attribute_accessors.rb:41:in
`cattr_accessor'
from
/var/lib/gems/1.8/gems/actionpack-1.12.5/lib/action_controll
er/base.rb:236
from
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from
/var/lib/gems/1.8/gems/activesupport-1.3.1/lib/active_suppor
t/dependencies.rb:147:in
`require'
from
/var/lib/gems/1.8/gems/actionpack-1.12.5/lib/action_controll
er.rb:37
from
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from
/var/lib/gems/1.8/gems/activesupport-1.3.1/lib/active_suppor
t/dependencies.rb:147:in
`require'
from
/var/lib/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:137:in
`require_frameworks'
from
/var/lib/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:137:in
`require_frameworks'
from
/var/lib/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:81:in
`process'
from
/var/lib/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:42:in
`run'
from ./public/../config/environment.rb:42
from public/dispatch.fcgi:21
...
jehenrik jhenrikson:/src/instiki-0.11.pl1$ gem list
*** LOCAL GEMS ***
actionmailer (1.2.5)
Service layer for easy email delivery and testing.
actionpack (1.12.5)
Web-flow and rendering framework putting the VC in MVC.
actionwebservice (1.1.6)
Web service support for Action Pack.
activerecord (1.14.4)
Implements the ActiveRecord pattern for ORM.
activesupport (1.4.0, 1.3.1)
Support and utility classes used by the Rails
framework.
daemons (0.4.4)
A toolkit to create and control daemons in different
ways
fcgi (0.8.7)
FastCGI library for Ruby.
gem_plugin (0.2.1)
A plugin system based only on rubygems that uses
dependencies only
postgres-pr (0.4.0)
A pure Ruby interface to the PostgreSQL (>= 7.4)
database
rails (1.1.6)
Web-application framework with template engine,
control-flow layer,
and ORM.
rake (0.7.3, 0.7.1)
Ruby based make-like utility.
sources (0.0.1)
This package provides download sources for remote gem
installation
tzinfo (0.3.3)
Daylight-savings aware timezone library
_______________________________________________
Instiki-users mailing list
Instiki-users rubyforge.org
h
ttp://rubyforge.org/mailman/listinfo/instiki-users
|