Closed nodanaonlyzuul closed 13 years ago
Try: config.gem "aws-ses", :lib => "aws/ses"
sshaw - many thanks.
I've poked around (unsuccessfully for now) and see the problem comes from the
require 'mail'
call that happens on the 1st line of ses.rb. If I just open a script/console session: require 'mail' gives me the same exception. In an irb session - things work fine.
I'll keep digging!
Oooops. Didn't mean to close this issue.
I suspect your problem could be that aws-ses depends on mail ~> 2.2.5
which depends on activesupport ~> 2.3.6.pre
.
Hi.
I got things running by venorizing aws/ses and mail (2.2.15) anddoing what's in the attached gist in my environment.rb.
It should be noted - the project is using config.gem not bundler.
phew, I wish I found this issue earlier.
I am running rails 2.3.5, ruby 1.8.7, I tried config.gem "aws-ses", :version => '0.4.1', :lib => 'aws/ses'
It did not work. (Missing these required gems: aws-ses = 0.4.1)
I uninstalled mail 2.2.15 then installed mail 2.2.5 => worked!
thanks.
I am having the same issue but none of the above fixes it. I have tried: My environment:
My attempted fixes:
I have a few ideas of things to try, but I don't really know/think they would necessarily help:
Can anyone think of anything that might help me? I am new to Rails, so most of my code is just copy-paste of what I have found online elsewhere.
Apologies in advance if I am doing something stupid. I am trying to use aws-ses in a Rails 2.3.5 app using Ruby 1.8.7.
In my environment.rb I put config.gem "aws-ses"
Where I get an error saying:
activate': undefined method
map' for nil:NilClass (NoMethodError)This is the complete stacktrace - was wondering if anyone else has hit something similar