tags:

views:

50

answers:

2

Hello,

I have the following statement -

Mail.defaults do
  pop3 'mail.server.com', 110 do
    user 'user'
    pass 'pass'
  end
end

How can the default variables be assigned manually?

I have the above running fine on localhost - but it breaks and give a NoMethodError pop3 when I push it up to Heroku.

+1  A: 

Are you using the mail gem by Mikel Lindsaar? Did you install it in your Heroku app?

Jonas Elfström
Yes I am. Figured out that it was due to different versions of the gem - Mikel had a few updates in the past few weeks and the .gems manifest pulled the latest.
RedNax
A: 

New version of the mail gem caused this to break, problem solved. Thanks for checking in.

RedNax