determine correct gemspec file