hi, I'm trying to deploy my app to production from my local and i'm getting an error saying "'development' database is not configured. Available: ["production"]" I've pasted the logs below and also on pastie at http://pastie.org/10244176. Any help would be greatly appreciated. Thanks in advanced.
Versions: - R*uby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]* - *Capistrano Version: 3.2.1 (Rake Version: 10.4.2)* - Rails 4.2.0 Platform: - Working on Mac osx - Deploying to Ubuntu 14.04 Logs: - Please past logs (as completely as possible to a 3rd party pasting service such as pastie.org) - http://pastie.org/10244176 <script src='http://pastie.org/10244176.js'></script> Files: - Capfile - deploy.rb - Stage files (production.rb, staging.rb) # start of error from running cap production deploy on localINFO [0e167450] Running bundle exec rake assets:precompile as deploy@xxxxx DEBUG [0e167450] Command: cd /u/apps/acshop_stage/releases/20150616232522 && ( PATH=/opt/rbenv/shims:$PATH RAILS_ENV=production bundle exec rake assets:precompile ) DEBUG [0e167450] rake aborted! DEBUG [0e167450] NoMethodError: undefined method `after_intialize' for #<Rails::Application::Configuration:0x007f0d9ddcd5f0> DEBUG [0e167450] /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/railtie/configuration.rb:95:in `method_missing' DEBUG [0e167450] /u/apps/acshop_stage/releases/20150616232522/config/environments/production.rb:79:in `block in <top (required)>' DEBUG [0e167450] /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/railtie.rb:210:in `instance_eval' DEBUG [0e167450] /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/railtie.rb:210:in `configure' DEBUG [0e167450] /u/apps/acshop_stage/releases/20150616232522/config/environments/production.rb:1:in `<top (required)>' DEBUG [0e167450] /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require' DEBUG [0e167450] /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require' DEBUG [0e167450] /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `block in require' DEBUG [0e167450] /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in `load_dependency' ------------------------------ # log from running bundle exec rake assets:precompile on remote serverroot@localhost:/u/apps/acshop_stage/current# bundle exec rake assets:precompile rake aborted! ActiveRecord::AdapterNotSpecified: 'development' database is not configured. Available: ["production"] /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/connection_specification.rb:248:in `resolve_symbol_connection' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/connection_specification.rb:211:in `resolve_connection' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/connection_specification.rb:139:in `resolve' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/connection_specification.rb:169:in `spec' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_handling.rb:50:in `establish_connection' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/railtie.rb:120:in `block (2 levels) in <class:Railtie>' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/lazy_load_hooks.rb:38:in `instance_eval' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/lazy_load_hooks.rb:38:in `execute_hook' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/lazy_load_hooks.rb:28:in `block in on_load' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/lazy_load_hooks.rb:27:in `each' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/lazy_load_hooks.rb:27:in `on_load' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/railtie.rb:116:in `block in <class:Railtie>' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `instance_exec' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `run' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:55:in `block in run_initializers' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:54:in `run_initializers' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application.rb:352:in `initialize!' /u/apps/acshop_stage/releases/20150527223432/config/environment.rb:5:in `<top (required)>' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `block in require' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in `load_dependency' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application.rb:328:in `require_environment!' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application.rb:443:in `block in run_tasks_blocks' /u/apps/acshop_stage/shared/bundle/ruby/2.2.0/gems/sprockets-rails-2.3.1/lib/sprockets/rails/task.rb:64:in `block (2 levels) in define' Tasks: TOP => environment (See full trace by running task with --trace) -- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/c5ad3a91-1800-40df-99d2-7d30582e7598%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.