lib/shinmun/blog.rb in shinmun-1.0.2 vs lib/shinmun/blog.rb in shinmun-1.0.3

- old
+ new

@@ -31,10 +31,10 @@ FileUtils.cp_r "#{ROOT}/templates", path FileUtils.cp "#{ROOT}/config.ru", path Dir.mkdir("#{path}/posts") Dir.mkdir("#{path}/pages") - File.open("#{path}/Gemfile") do |io| + File.open("#{path}/Gemfile", "w") do |io| io.puts('gem "shinmun"') end end def render(name, vars = {})