Fixed crash if a .gemspec has a string for require_paths variable.

Addresses open issue "require_path from gemspec is type sensitive. #890".