Move gem signing into rake tasks to fix bug parsing gemspec in some environments