It seems the arts plugin has some problems with Rails 2.2.2. Seems to be a simple enough fix. I simply added the following to the bottom of my arts.rb file.
Embedded pastie:
It seems there was a new with_output_buffer method added in Rails 2.2.2. I'd guess it does something useful with regard to output buffering in the context of an actual request - but for testing purposes it seems to work fine if we add it to the Arts module and just have it call the block it's passed.
Hope this helps someone else.
I'd like to talk to you about buying this site. Can you send me an email @ labs.harkness [at] gmail.com
Please delete this message after you read it.
Posted by: Barry | November 25, 2008 at 03:53 AM
Buying WHAT site? I have no interest in selling pastie.org.
Posted by: Josh Goebel | November 25, 2008 at 03:55 AM
Well, unless it was some ungodly high $$$$$$ that would let me buy a few new BMWs... then we could maybe talk. :-)
Posted by: Josh Goebel | November 25, 2008 at 03:56 AM
the font family specified for the code pastes on pastie.org are:
"Bitstream Vera Sans Mono","Monaco","Courier",monospace
please modify "Courier" to "Courier New" because courier is very difficult to read since it doesn't font smooth. thanks!
Posted by: courier new | November 25, 2008 at 11:57 AM
Yeah, that seemed to fix the issue for me. Thanks a lot.
Posted by: Wolfram Arnold | December 23, 2008 at 07:35 AM
That was quite helpful, actually; thanks!
Posted by: Stephen Ryan | January 15, 2009 at 11:15 PM
Nice one, good fix!
Posted by: Alastair Brunton | January 16, 2009 at 07:45 AM