Fix gem detection of ruby narray