레일 3.2.12와 루비 1.9.3에서 프로젝트를 복제했습니다.bundle install
을 성공적으로 실행 한 다음 rails s RAILS_ENV = development
를 실행하면 다음 오류가 발생합니다.
ruby/1.9.3/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/connection_specification.rb:47:in `resolve_hash_connection': database configuration does not specify adapter (ActiveRecord::AdapterNotSpecified)
나는 stackoverflow에서 찾은 모든 솔루션을 시도했지만 아무도 내 문제를 해결하지 못했습니다.postgresql 9.3 및 우분투 14.04 LTS를 사용하고 있습니다.
여기 내 database.yml입니다.
credentials: &config
adapter: postgresql
encoding: unicode
pool: 5
username: postgres
password: password25
host: localhost
development:
database: myproject_development
<<: *config
test: &test
database: myproject_test
<<: *config
production:
database: myproject_production
<<: *config
cucumber:
<<: *test
미리 감사드립니다