Fixing Ruby bindings error