libraries/deploy-context/deploy/ruby.rb in deploy-context-2.1.35.3.g2abab85.16.g399fb24.9.g1523b69.3.g0fb07cc vs libraries/deploy-context/deploy/ruby.rb in deploy-context-2.1.35.3.g2abab85.16.g399fb24.9.g1523b69.8.ga24e5ef

- old
+ new

@@ -12,11 +12,11 @@ end def ruby_build(context) context.git_build(context) context.log "Working in folder #{Dir.pwd}\nAnd context #{context.context_name} is created" - check_folder get_context_folder(context, 'build') + check_folder get_context_file(context, 'build') end def ruby_release(context) context.git_build(context) # gem ["push #{context.context_name}-#{GVB.version}.gem"] @@ -28,10 +28,10 @@ def ruby_install(context) context.gem context, ['install', context.context_name] end def clean_folder(context, folder) - clean_folder = context.get_context_folder(context, folder) + clean_folder = context.get_context_file(context, folder) puts "Clean folder #{clean_folder}" FileUtils.remove_dir(clean_folder) if Dir.exist?(clean_folder) end def ruby_clean(context)