I have this in my environment file, I get "The error occurred while evaluating nil.[] (NoMethodError)" on the S3Config.key= line when running cucumber. Why is it not loading up the module when running cucumber?
module S3Config mattr_accessor :key mattr_accessor :sec end class ActiveRecord::Base include S3Config extend DynamicMethods end S3Config.key = AppConfig['access_key_id'] S3Config.sec = AppConfig['secret_access_key'] ActionMailer::Base.default_url_options[:host]=AppConfig['base_url'] -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.