amazon web services - Ruby AWS SDK breaks when caching classes -


i'm having headache trying figure out. everytime try deploy app productio error:

/users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/core/service_interface.rb:24:in `module_eval': undefined method `each' nil:nilclass (nomethoderror) /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/simple_email_service/client/xml.rb:29:in `<module:xml>' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/simple_email_service/client/xml.rb:19:in `<class:client>' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/simple_email_service/client/xml.rb:16:in `<class:simpleemailservice>' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/simple_email_service/client/xml.rb:15:in `<module:aws>' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/simple_email_service/client/xml.rb:14:in `<top (required)>' (eval):1:in `configure_client' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/core/client.rb:484:in `module_eval' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/core/client.rb:484:in `configure_client' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/core/configured_client_methods.rb:27:in `configure_client' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/simple_email_service/client.rb:32:in `<class:client>' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/simple_email_service/client.rb:18:in `<class:simpleemailservice>' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/simple_email_service/client.rb:15:in `<module:aws>' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/simple_email_service/client.rb:14:in `<top (required)>' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/simple_email_service/errors.rb:20:in `<module:errors>' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/simple_email_service/errors.rb:18:in `<class:simpleemailservice>' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/simple_email_service/errors.rb:15:in `<module:aws>' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/simple_email_service/errors.rb:14:in `<top (required)>' (eval):1:in `included' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/core/service_interface.rb:24:in `module_eval' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/core/service_interface.rb:24:in `included' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/simple_email_service.rb:146:in `include' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/simple_email_service.rb:146:in `<class:simpleemailservice>' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/simple_email_service.rb:136:in `<module:aws>' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/simple_email_service.rb:17:in `<top (required)>' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/aws-sdk-1.3.9/lib/aws/rails.rb:157:in `block in add_action_mailer_delivery_method' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-3.2.13/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-3.2.13/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-3.2.13/lib/active_support/lazy_load_hooks.rb:43:in `block in run_load_hooks' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-3.2.13/lib/active_support/lazy_load_hooks.rb:42:in `each' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-3.2.13/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/actionmailer-3.2.13/lib/action_mailer/base.rb:746:in `<class:base>' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/actionmailer-3.2.13/lib/action_mailer/base.rb:326:in `<module:actionmailer>' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/actionmailer-3.2.13/lib/action_mailer/base.rb:11:in `<top (required)>' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-3.2.13/lib/active_support/inflector/methods.rb:230:in `const_get' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-3.2.13/lib/active_support/inflector/methods.rb:230:in `block in constantize' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-3.2.13/lib/active_support/inflector/methods.rb:229:in `each' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-3.2.13/lib/active_support/inflector/methods.rb:229:in `constantize' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-3.2.13/lib/active_support/core_ext/string/inflections.rb:54:in `constantize' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/devise-3.0.0/app/mailers/devise/mailer.rb:1:in `<top (required)>' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block in require' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:359:in `require_or_load' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:313:in `depend_on' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:225:in `require_dependency' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/engine.rb:439:in `block (2 levels) in eager_load!' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/engine.rb:438:in `each' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/engine.rb:438:in `block in eager_load!' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/engine.rb:436:in `each' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/engine.rb:436:in `eager_load!' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/application/railties.rb:8:in `each' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/application/railties.rb:8:in `all' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/engine.rb:434:in `eager_load!' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/application/finisher.rb:53:in `block in <module:finisher>' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `instance_exec' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `run' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/initializable.rb:55:in `block in run_initializers' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `each' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `run_initializers' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/application.rb:136:in `initialize!' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in `method_missing' /users/rafael/dev/nuveo/storesengine/config/environment.rb:5:in `<top (required)>' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block in require' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require' /users/rafael/dev/nuveo/storesengine/config.ru:3:in `block in <main>' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize' /users/rafael/dev/nuveo/storesengine/config.ru:in `new' /users/rafael/dev/nuveo/storesengine/config.ru:in `<main>' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/rack-1.4.5/lib/rack/builder.rb:40:in `eval' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/rack-1.4.5/lib/rack/builder.rb:40:in `parse_file' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/rack-1.4.5/lib/rack/server.rb:200:in `app' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/commands/server.rb:46:in `app' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/rack-1.4.5/lib/rack/server.rb:304:in `wrapped_app' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/rack-1.4.5/lib/rack/server.rb:254:in `start' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/commands/server.rb:70:in `start' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/commands.rb:55:in `block in <top (required)>' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/commands.rb:50:in `tap' /users/rafael/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/commands.rb:50:in `<top (required)>' script/rails:6:in `require' script/rails:6:in `<main>' 

but if disable config.cache_classes setting false, error wont show anymore. there no way im leaving cache_classes = false production.

can me this?

many thanks

the aws sdk out of date. updating solved hole trouble :) deefour


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -