Hi for years I have used this website in overcoming many issues. Recently, i decided to setup Catarse and found it to be an uphill battle. Stackflow was the first place i came and though alittle of the issue was discussed, it wasnt on point.I am currently experiencing this issue and cant seem to find any solution. I searched google etc Thanks:
bundle exec rake db:migrate /var/lib/gems/2.4.0/gems/json_web_token-0.3.5/lib/json_web_token.rb:36: warning: already initialized constant JWT /var/lib/gems/2.4.0/gems/jwt-1.5.6/lib/jwt/json.rb:4: warning: previous definition of JWT was here rake aborted! ActiveRecord::AdapterNotSpecified: 'postgresql' database is not configured. Available: ["development", "adapter", "encoding", "database", "pool", "username", "password", "host", "port", "test"] /var/lib/gems/2.4.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/connection_specification.rb:248:in
resolve_symbol_connection' /var/lib/gems/2.4.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/connection_specification.rb:231:in
resolve_string_connection' /var/lib/gems/2.4.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/connection_specification.rb:213:inresolve_connection' /var/lib/gems/2.4.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/connection_specification.rb:139:in
resolve' /var/lib/gems/2.4.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/connection_specification.rb:151:inblock in resolve_all' /var/lib/gems/2.4.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/connection_specification.rb:150:in
each' /var/lib/gems/2.4.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/connection_specification.rb:150:inresolve_all' /var/lib/gems/2.4.0/gems/activerecord-4.2.10/lib/active_record/connection_handling.rb:69:in
resolve' /var/lib/gems/2.4.0/gems/activerecord-4.2.10/lib/active_record/core.rb:46:inconfigurations=' /var/lib/gems/2.4.0/gems/activerecord-4.2.10/lib/active_record/railtie.rb:119:in
block (2 levels) in ' /var/lib/gems/2.4.0/gems/activesupport-4.2.10/lib/active_support/lazy_load_hooks.rb:38:ininstance_eval' /var/lib/gems/2.4.0/gems/activesupport-4.2.10/lib/active_support/lazy_load_hooks.rb:38:in
execute_hook' /var/lib/gems/2.4.0/gems/activesupport-4.2.10/lib/active_support/lazy_load_hooks.rb:28:inblock in on_load' /var/lib/gems/2.4.0/gems/activesupport-4.2.10/lib/active_support/lazy_load_hooks.rb:27:in
each' /var/lib/gems/2.4.0/gems/activesupport-4.2.10/lib/active_support/lazy_load_hooks.rb:27:inon_load' /var/lib/gems/2.4.0/gems/activerecord-4.2.10/lib/active_record/railtie.rb:118:in
block in ' /var/lib/gems/2.4.0/gems/railties-4.2.10/lib/rails/initializable.rb:30:ininstance_exec' /var/lib/gems/2.4.0/gems/railties-4.2.10/lib/rails/initializable.rb:30:in
run' /var/lib/gems/2.4.0/gems/railties-4.2.10/lib/rails/initializable.rb:55:inblock in run_initializers' /var/lib/gems/2.4.0/gems/railties-4.2.10/lib/rails/initializable.rb:54:in
run_initializers' /var/lib/gems/2.4.0/gems/railties-4.2.10/lib/rails/application.rb:352:ininitialize!' /var/lib/gems/2.4.0/gems/railties-4.2.10/lib/rails/railtie.rb:194:in
public_send' /var/lib/gems/2.4.0/gems/railties-4.2.10/lib/rails/railtie.rb:194:inmethod_missing' /home/wizard/railsApps/catarse/config/environment.rb:9:in
' /var/lib/gems/2.4.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:inrequire' /var/lib/gems/2.4.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in
block in require' /var/lib/gems/2.4.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:240:inload_dependency' /var/lib/gems/2.4.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in
require' /var/lib/gems/2.4.0/gems/railties-4.2.10/lib/rails/application.rb:328:inrequire_environment!' /var/lib/gems/2.4.0/gems/railties-4.2.10/lib/rails/application.rb:457:in
block in run_tasks_blocks' /var/lib/gems/2.4.0/gems/rake-12.3.1/exe/rake:27:in `' Tasks: TOP => db:migrate => environment (See full trace by running task with --trace)
Aucun commentaire:
Enregistrer un commentaire