5v3n/karathy — Issue #1: rake new ignores :ext setting
Author: filtercake
Created: 2012-01-21 19:08:29+00:00
State: open

from my config.ru:

set :ext, 'md'

log:

$ rake new
Title: something something
Tags (comma separated):something, anotherthing

toto ~ an article was created for you at articles/2012-01-21-something-something.txt.

any idea? the line from the rakefile says

path = "#{Toto::Paths[:articles]}/#{Time.now.strftime("%Y-%m-%d")}#{'-' + slug if slug}.#{@config[:ext]}"