lib/ruby_learner/common.rb in ruby_learner-1.2.7 vs lib/ruby_learner/common.rb in ruby_learner-1.2.8
- old
+ new
@@ -13,12 +13,12 @@
if Dir.exist?(local_dir) != true then
FileUtils.mkdir_p("#{local_dir}/workshop")
system("cp -R #{gem_contents_dir}/workshop/* #{local_dir}/workshop")
FileUtils.mkdir_p("#{local_dir}/restore")
system("cp -R #{gem_contents_dir}/restore/* #{local_dir}/restore")
- FileUtils.mkdir_p("#{local_dir}/.datas")
- system("cp -R #{gem_contents_dir}/datas/* #{local_dir}/.datas")
- system("cd #{local_dir}/.datas && mv emacs.d .emacs.d")
+ FileUtils.mkdir_p("#{local_dir}/.data")
+ system("cp -R #{gem_contents_dir}/data/* #{local_dir}/.data")
+ system("cd #{local_dir}/.data && mv emacs.d .emacs.d")
system("cd #{local_dir}/workshop && mv rspec .rspec")
system("cd #{local_dir}/workshop && mv rubocop.yml .rubocop.yml")
system("cd #{local_dir}/restore && mv empty.rb .empty.rb")
end
end