getting require errors
Added by Torsten Burschka almost 15 years ago
Hello,
i've installed a fresh redmine from git repository. I configured the database.yml for using postgreesql
production:
adapter: postgresql
database: somedatabase
host: localhost
username: someusername
password: "somepass"
encoding: utf8
schema_search_path: public
and email.yml
production:
delivery_method: :smtp
smtp_settings:
address: mail.ideaplexus.com
port: 2525
domain: ideaplexus.com
authentication: :login
user_name: "someusername"
password: "somepass"
also the environment.db, adding
config.action_controller.session = { :key => "_myapp_session", :secret => "mysecretkey" }
migrate and populate database successfully, and rename the dispatch.cgi.example to dispatch.cgi
now i testet the application, but i only get:
Application error
Rails application failed to start properly
looking in the errorlog, i've got this:
[Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/public/dispatch.cgi:3
[Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/public/dispatch.cgi:3:in `require'
[Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/public/../config/environment.rb:20
[Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load'
[Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/app/models/message.rb:22
[Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/vendor/plugins/acts_as_attachable/lib/acts_as_attachable.rb:33:in `acts_as_attachable'
[Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load'
[Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/app/models/attachment.rb:36
[Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load'
[Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/app/models/project.rb:35
[Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load'
[Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/app/models/issue.rb:35
[Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/vendor/plugins/awesome_nested_set/lib/awesome_nested_set.rb:93:in `acts_as_nested_set'
[Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/vendor/plugins/awesome_nested_set/lib/awesome_nested_set.rb:217:in `quoted_left_column_name'
someone maybe an idea what i did wrong?
Replies (1)
RE: getting require errors - Added by Torsten Burschka almost 15 years ago
Sorry for using the false codestyle, here in correct encoding:
production: adapter: postgresql database: somedatabase host: localhost username: someusername password: "somepass" encoding: utf8 schema_search_path: public
and email.yml
production: delivery_method: :smtp smtp_settings: address: mail.ideaplexus.com port: 2525 domain: ideaplexus.com authentication: :login user_name: "someusername" password: "somepass"
also the environment.db, adding
config.action_controller.session = { :key => "_myapp_session", :secret => "mysecretkey" }
migrate and populate database successfully, and rename the dispatch.cgi.example to dispatch.cgi
now i testet the application, but i only get:
Application errorRails application failed to start properly
looking in the errorlog, i've got this:
[Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/public/dispatch.cgi:3 [Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/public/dispatch.cgi:3:in `require' [Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/public/../config/environment.rb:20 [Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load' [Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/app/models/message.rb:22 [Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/vendor/plugins/acts_as_attachable/lib/acts_as_attachable.rb:33:in `acts_as_attachable' [Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load' [Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/app/models/attachment.rb:36 [Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load' [Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/app/models/project.rb:35 [Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load' [Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/app/models/issue.rb:35 [Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/vendor/plugins/awesome_nested_set/lib/awesome_nested_set.rb:93:in `acts_as_nested_set' [Tue Mar 23 03:52:18 2010] [error] [client 78.53.199.172] \tfrom /home/m4buto/etc/rails_apps/redmine/vendor/plugins/awesome_nested_set/lib/awesome_nested_set.rb:217:in `quoted_left_column_name'
someone maybe an idea what i did wrong?