Implement status function for ruby v2 cart based on simple curl.

Also ensure that `$LD_LIBRARY_PATH` is set for ruby 1.9 apps.