lib/exercism/config.rb in exercism-0.0.7 vs lib/exercism/config.rb in exercism-0.0.8
- old
+ new
@@ -31,9 +31,10 @@
def project_dir
@project_dir ||= from_yaml['project_dir']
end
def save
+ FileUtils.mkdir_p(project_dir)
File.open file, 'w' do |f|
data = {
'github_username' => github_username,
'key' => key,
'project_dir' => project_dir