Project

General

Profile

Keep getting Rails error on install...

Added by A H about 11 years ago

This is probably a super beginner error, but I'm trying to get Redmine going on my Dreamhost account. I followed their exact wiki at http://wiki.dreamhost.com/Redmine and still can't get it to work, I get a Application Error: Rails failed to load. Every time. But when I ssh in I can run Rails no problem... and many others have stated the dreamhost wiki works to run their redmine install, and I've tried installing Redmine Stable 2.0, 2.1, and 2.2...

I've searched this forum and dreamhosts, as well as googled for possible answers and nothing I've tried to implement has worked, including starting fresh a couple times. Any help is appreciated!

http://clients.creativemade.com/


Replies (4)

RE: Keep getting Rails error on install... - Added by Jan Niggemann (redmine.org team member) about 11 years ago

Please attach the output from running the following in your Redmine directory:
RAILS_ENV=YOUR_ENVIRONMENT script/about

RE: Keep getting Rails error on install... - Added by A H about 11 years ago

You did not specify how you would like Rails to report deprecation notices for your YOUR_ENVIRONMENT environment, please set config.active_support.deprecation to :log, :notify or :stderr at config/environments/YOUR_ENVIRONMENT.rb
/home/kzpdesign/.gems/gems/activerecord-3.2.9/lib/active_record/connection_adapters/abstract/connection_specification.rb:47:in `resolve_hash_connection': database configuration does not specify adapter (ActiveRecord::AdapterNotSpecified)
from /home/kzpdesign/.gems/gems/activerecord-3.2.9/lib/active_record/connection_adapters/abstract/connection_specification.rb:41:in `resolve_string_connection'

RE: Keep getting Rails error on install... - Added by A H about 11 years ago

after that is quite a few records generated, for some reason I cannot post the full log as the forum is blocking it as spam.. but I'm guessing it's because of the initial notice above. Now to search on how to fix that...

from /home/kzpdesign/.gems/gems/activerecord-3.2.9/lib/active_record/connection_adapters/abstract/connection_specification.rb:25:in `spec'

RE: Keep getting Rails error on install... - Added by A H about 11 years ago

Looking at production.rb in vi at /redmine/config/environments, the last lines are:

config.active_support.deprecation = :log
end
    (1-4/4)