Skip to content

Commit d4e0660

Browse files
author
gdgate
authored
Merge pull request #1747 from sangtm/DC-1701-bump-ruby-sdk-2_1_16
DC-1701: Fix build jruby gem error Reviewed-by: https://github.com/danh-ung
2 parents 8af9f99 + be809cd commit d4e0660

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ namespace :gem do
3636
origin_license_file = 'LICENSE'
3737
new_license_file = 'LICENSE_FOR_RUBY_SDK_COMPONENT.txt'
3838
File.delete(origin_license_file) if File.exist?(origin_license_file)
39-
File.cp(new_license_file, origin_license_file) if File.exists?(new_license_file)
39+
FileUtils.cp(new_license_file, origin_license_file) if File.exists?(new_license_file)
4040
puts "Copied file #{new_license_file} to #{origin_license_file}"
4141
puts "Building #{gem} ..."
4242
res = `gem build ./gooddata.gemspec`

0 commit comments

Comments
 (0)