Project

General

Profile

Help installing redmine 0.8.7 on hostgator. HTTP 500

Added by Ben . over 14 years ago

Hi All,
I'm getting an application 500 on my redmine app.
I've configured the database, which is working fine and filled with tables and example data.

.htaccess is redirecting requests through the dispatcher.fgci script.

My dispatcher is configured to use #! .usr/local/bin/ruby as the /env setting didn't work.

Ruby version: 1.8.7

[penton@boss ~/redmine]$ gem list

*** LOCAL GEMS ***

actionmailer (2.3.5, 2.3.3, 2.2.2, 2.1.2, 1.3.3)
actionpack (2.3.5, 2.3.3, 2.2.2, 2.1.2, 1.13.3)
actionwebservice (1.2.3)
activerecord (2.3.5, 2.3.3, 2.2.2, 2.1.2, 1.15.3)
activeresource (2.3.5, 2.3.3, 2.2.2, 2.1.2)
activesupport (2.3.5, 2.3.3, 2.2.2, 2.1.2, 2.0.1, 1.4.2)
BlueCloth (1.0.0)
builder (2.1.1)
cgi_multipart_eof_fix (2.5.0)
daemons (1.0.5)
fastthread (1.0.1)
fcgi (0.8.7)
feedtools (0.2.26)
gem_plugin (0.2.3, 0.2.2)
gemcutter (0.3.0)
gnuplot (2.2)
hoe (2.5.0)
htmltools (1.10)
json_pure (1.2.0)
mongrel (1.1.5, 0.3.13.4)
mysql (2.7)
payment (1.0.1)
rack (1.0.1, 1.0.0)
rails (2.3.5, 2.3.3, 2.2.2, 2.1.2, 1.2.3)
rake (0.8.7, 0.8.3, 0.7.3, 0.7.2)
rmagick (2.8.0, 2.5.0, 2.3.0)
rubyforge (2.0.3)
rubygems-update (1.3.5)
sources (0.0.1)
sqlite3-ruby (1.2.4)
tidy (1.1.2)
uuidtools (1.0.0)
xml-simple (1.0.11)
[penton@boss ~/redmine]$ 

Running dispatcher through ruby I got this. However I wonder if there are arguments missing from the process.

[penton@boss ~/redmine]$ ruby public/dispatch.fcgi 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:440:in `load_missing_constant': uninitialized constant ActionController::AbstractRequest (NameError)
    from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:80:in `const_missing'
    from /home/penton/redmine/vendor/plugins/actionwebservice/lib/action_web_service/protocol/abstract.rb:74
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'
    from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in'
    from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'
    from /home/penton/redmine/vendor/plugins/actionwebservice/lib/action_web_service/protocol.rb:1
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'
    from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in'
    from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'
    from /home/penton/redmine/vendor/plugins/actionwebservice/lib/action_web_service.rb:46
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'
    from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in'
    from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'
    from /home/penton/redmine/vendor/plugins/actionwebservice/init.rb:1:in `evaluate_init_rb'
    from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin.rb:158:in `evaluate_init_rb'
    from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
    from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin.rb:154:in `evaluate_init_rb'
    from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin.rb:48:in `load'
    from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin/loader.rb:38:in `load_plugins'
    from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin/loader.rb:37:in `each'
    from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin/loader.rb:37:in `load_plugins'
    from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:369:in `load_plugins'
    from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:165:in `process'
    from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `send'
    from /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `run'
    from ./public/../config/environment.rb:9
    from public/dispatch.fcgi:21:in `require'
    from public/dispatch.fcgi:21
[penton@boss ~/redmine]$ 

Would appreciate some help, as I'm very new to ruby. I've googled everything I can to get this working, yet found nothing that solved it.


Replies (1)

RE: Help installing redmine 0.8.7 on hostgator. HTTP 500 - Added by Ben . over 14 years ago

Forgot to mention rails version is 2.3.5 .
I can't find any logs or run the RAILS_ENV=development script/about script.

    (1-1/1)