FreeBSD 9.2 Apache 2.4 + Passenger Trying to start Redmine 2.3.2
Error:
/usr/local/lib/ruby/gems/1.9/gems/activerecord-3.2.13/lib/active_record
/connection_adapters/abstract/connection_specification.rb:47:in
`resolve_hash_connection': database configuration does not specify
adapter (ActiveRecord::AdapterNotSpecified)
I found that if I change adapter from adapter: mysql2
to adapter:mysql2
(remove space after ":" ) then this error gone, however then I have another error:
/usr/local/lib/ruby/gems/1.9/gems/bundler-1.3.5/lib/bundler/dsl.rb:33:in
`rescue in eval_gemfile': Gemfile syntax error:
(Bundler::GemfileError)
So I have to make it work when adapter: mysql2
is configured, so I have to solve ActiveRecord::AdapterNotSpecified error problem somehow else, not by removing space there.
Any ideas?
RubyGems Environment:
- RUBYGEMS VERSION: 1.8.25
- RUBY VERSION: 1.9.3 (2013-06-27 patchlevel 448) [amd64-freebsd9]
- INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.9
- RUBY EXECUTABLE: /usr/local/bin/ruby19
- EXECUTABLE DIRECTORY: /usr/local/bin
- RUBYGEMS PLATFORMS:
- ruby
- amd64-freebsd-9
- GEM PATHS:
- /usr/local/lib/ruby/gems/1.9
- /root/.gem/ruby/1.9
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000