# File lib/rubygems/installer.rb, line 173 def write_spec(spec, spec_path) rubycode = spec.to_ruby file_name = File.join(spec_path, spec.full_name+".gemspec").untaint File.open(file_name, "w") do |file| file.puts rubycode end end