class Bundler::Repository

def add_spec(spec)

def add_spec(spec)
  destination = path.join('specifications')
  destination.mkdir unless destination.exist?
  File.open(destination.join("#{spec.full_name}.gemspec"), 'w') do |f|
    f.puts spec.to_ruby
  end
end