Re: Ruby client - problem listing bucket keys

2010-10-24 Thread Ted Behling
Thanks for the reply, Sean! And on a Sunday no less. I took your advice and installed the "yajl-ruby" gem. My broken one-liner, below, now works if changed to the following. Merely installing "yajl-ruby" didn't work; I also had to add the " require 'yajl' " line. Also, this one-liner succeed

Re: Ruby client - problem listing bucket keys

2010-10-24 Thread Sean Cribbs
Ted, There is a simple fix for this (which I believed was in there already). First of all, install the json or yajl-ruby gems (the default parsing from ActiveSupport is bad). Then add this to your script: ActiveSupport.parse_json_times = false ActiveSupport tries to be smart about parsing str