# File lib/rubyforge.rb, line 72 def setup FileUtils::mkdir_p RUBYFORGE_D, :mode => 0700 unless test ?d, RUBYFORGE_D test ?e, CONFIG_F and FileUtils::mv CONFIG_F, "#{CONFIG_F}.bak" config = CONFIG.dup config.delete "rubyforge" open(CONFIG_F, "w") { |f| f.write YAML.dump(config) } FileUtils::touch COOKIE_F edit = (ENV["EDITOR"] || ENV["EDIT"] || "vi") + " '#{CONFIG_F}'" system edit or puts "edit '#{CONFIG_F}'" end