dignoe / whenever-elasticbeanstalk

Allows you to run cron jobs easily on one or all AWS Elastic Beanstalk instances.
MIT License
48 stars 35 forks source link

Not working with aws-sdk 1.15.0 #4

Closed j-mcnally closed 11 years ago

j-mcnally commented 11 years ago

/var/app/ondeck/vendor/bundle/gems/aws-sdk-1.15.0/lib/aws/core.rb:474:in config': undefined methodempty?' for nil:NilClass (NoMethodError) from /var/app/ondeck/vendor/bundle/gems/whenever-elasticbeanstalk-1.1.3/bin/create_cron_leader:41:in <top (required)>' from /var/app/ondeck/vendor/bundle/bin/create_cron_leader:23:inload' from /var/app/ondeck/vendor/bundle/bin/create_cron_leader:23:in `

'

2013-08-18 21:01:20,581 [ERROR] Error encountered during build of postbuild_0_tourpedo_git_d96cbe5a203408a58aa3d714ab8bdf15d97e8a5a_1376859281475__ebextensions_cron_config: Command cron_01_set_leader failed Traceback (most recent call last):

Getting this in my logs when i try to deploy. Amazon seems to break a bunch of stuff everytime they put out a new gem :/

dignoe commented 11 years ago

Do you have your config/whenever-elasticbeanstalk.yml file setup correctly and are using the corresponding RAILS_ENV environment variable?

j-mcnally commented 11 years ago

thats a valid point, ill double check.

j-mcnally commented 11 years ago

i am almost sure i missed that step :+1: