Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index e12012d..4bc3114 100644
--- a/Rakefile
+++ b/Rakefile
@@ -43,7 +43,7 @@ task :compile, :css_path do |t, args|
puts Term::ANSIColor.cyan(" #{save_path}") + '...'
engine = Sass::Engine.for_file("#{path}/#{file}.scss", syntax: :scss, load_paths: [path])
css = engine.render
- File.mkdir('tmp') unless File.directory?('tmp')
+ Dir.mkdir('tmp') unless File.directory?('tmp')
File.open(save_path, 'w') { |f| f.write css }
end
end