lib/ruby_learner/common.rb in ruby_learner-1.1.8 vs lib/ruby_learner/common.rb in ruby_learner-1.1.9
- old
+ new
@@ -34,9 +34,10 @@
if Dir.exist?(workshop_dir) != true then
FileUtils.mkdir_p(workshop_dir)
system("cp -R #{gem_dir}/workshop/* #{workshop_dir}")
system("cd #{workshop_dir} && mv emacs.d .emacs.d")
system("cd #{workshop_dir} && mv rspec .rspec")
+ system("cd #{workshop_dir} && mv rubocop.yml .rubocop.yml")
end
end
def get_app_ver(app_name: String)
app_vers = Open3.capture3("gem list #{app_name}")