Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Doesn't work with $DEBUG == true #32

Open
yefrem opened this issue Apr 1, 2017 · 0 comments
Open

Doesn't work with $DEBUG == true #32

yefrem opened this issue Apr 1, 2017 · 0 comments

Comments

@yefrem
Copy link

yefrem commented Apr 1, 2017

Hello guys
I've came across this issue when deployed my app to DigitalOcean VPS pre-configured for Rails app.
I was getting this

too many arguments for format string
/usr/local/rvm/gems/ruby-2.4.0/gems/madmimi-1.1.2/lib/madmimi.rb:358:in `%'
/usr/local/rvm/gems/ruby-2.4.0/gems/madmimi-1.1.2/lib/madmimi.rb:358:in `path'
/usr/local/rvm/gems/ruby-2.4.0/gems/madmimi-1.1.2/lib/madmimi.rb:237:in `send_mail'`

When calling send_mail from controller. Thing is that with $DEBUG == true the line 'smth' % {} raises that error and I've had my unicorn set up to enable debug.
I'm not sure if you think it's worth fixing or not. If you don't maybe noticing this in docs could be a good idea.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant