Running an RSpec test with ruby bindings for libcurl (with curb) like so:
it "Should return JSON data with usernames" do $var = Curl::Easy.new("some-url.com") $var.perform data = JSON.parse($var.body_str) data['username'].should eq('some user') endand sometimes I get this error:
Failure/Error: $var.perform Curl::Err::OutOfMemoryError: Curl::Err::OutOfMemoryErrorAnyone know how to resolve this?