thoughtbot / cocaine

A small library for doing (command) lines.
https://robots.thoughtbot.com
Other
785 stars 55 forks source link

NoMethodError - undefined method `tty?' for ActiveSupport::BufferedLogger #33

Closed saragibby closed 12 years ago

saragibby commented 12 years ago

On the 19th we upgraded our cocaine gem version from 0.4.0 to 0.4.1. We then started getting this error in our application...

NoMethodError (undefined method tty?' for #<ActiveSupport::BufferedLogger:0x00000100a5f540>): cocaine (0.4.1) lib/cocaine/command_line.rb:98:incolored' cocaine (0.4.1) lib/cocaine/command_line.rb:75:in run' paperclip (2.7.1) lib/paperclip.rb:102:inrun' paperclip (2.7.1) lib/paperclip/geometry.rb:22:in from_file' paperclip (2.7.1) lib/paperclip/thumbnail.rb:35:ininitialize' paperclip (2.7.1) lib/paperclip/processor.rb:33:in new' paperclip (2.7.1) lib/paperclip/processor.rb:33:inmake' paperclip (2.7.1) lib/paperclip/attachment.rb:441:in block in post_process_style' paperclip (2.7.1) lib/paperclip/attachment.rb:440:ineach' paperclip (2.7.1) lib/paperclip/attachment.rb:440:in inject' paperclip (2.7.1) lib/paperclip/attachment.rb:440:inpost_process_style' paperclip (2.7.1) lib/paperclip/attachment.rb:433:in block in post_process_styles' paperclip (2.7.1) lib/paperclip/attachment.rb:432:ineach' paperclip (2.7.1) lib/paperclip/attachment.rb:432:in post_process_styles' paperclip (2.7.1) lib/paperclip/attachment.rb:425:inblock (2 levels) in post_process' paperclip (2.7.1) lib/paperclip/callback_compatibility.rb:23:in call' paperclip (2.7.1) lib/paperclip/callback_compatibility.rb:23:inrun_paperclip_callbacks' paperclip (2.7.1) lib/paperclip/attachment.rb:424:in block in post_process' paperclip (2.7.1) lib/paperclip/callback_compatibility.rb:23:incall' paperclip (2.7.1) lib/paperclip/callback_compatibility.rb:23:in run_paperclip_callbacks' paperclip (2.7.1) lib/paperclip/attachment.rb:423:inpost_process' paperclip (2.7.1) lib/paperclip/attachment.rb:120:in assign' paperclip (2.7.1) lib/paperclip.rb:349:inblock in has_attached_file'

We are running rails v 2.3.14. Please advise on how to resolve this. Thanks!

jyurek commented 12 years ago

Yes, I noticed this after I pushed 0.4.1. Please upgrade to 0.4.2. Sorry about the trouble.

saragibby commented 12 years ago

That did it. Thanks!

On Oct 25, 2012, at 11:24 AM, Jon Yurek wrote:

Yes, I noticed this after I pushed 0.4.1. Please upgrade to 0.4.2. Sorry about the trouble.

— Reply to this email directly or view it on GitHub.

saragibby commented 11 years ago

http://fiorentinix.altervista.org/ajbev3.php