Update rails. Add libcurl binding.