Fails if gems and site are in different devices
I think it should just copy the file in these cases.
Traceback (most recent call last):
45: from /usr/bin/bundle:23:in `<main>'
44: from /usr/bin/bundle:23:in `load'
43: from /usr/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/exe/bundle:37:in `<top (required)>'
42: from /usr/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
41: from /usr/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/exe/bundle:49:in `block in <top (required)>'
40: from /usr/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/cli.rb:24:in `start'
39: from /usr/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
38: from /usr/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/cli.rb:30:in `dispatch'
37: from /usr/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
36: from /usr/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
35: from /usr/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
34: from /usr/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/cli.rb:497:in `exec'
33: from /usr/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/cli/exec.rb:28:in `run'
32: from /usr/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/cli/exec.rb:63:in `kernel_load'
31: from /usr/lib/ruby/gems/2.7.0/gems/bundler-2.2.2/lib/bundler/cli/exec.rb:63:in `load'
30: from /usr/bin/jekyll:23:in `<top (required)>'
29: from /usr/bin/jekyll:23:in `load'
28: from /usr/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/exe/jekyll:15:in `<top (required)>'
27: from /usr/lib/ruby/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
26: from /usr/lib/ruby/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
25: from /usr/lib/ruby/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
24: from /usr/lib/ruby/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
23: from /usr/lib/ruby/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
22: from /usr/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/commands/build.rb:18:in `block (2 levels) in init_with_program'
21: from /usr/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
20: from /usr/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `each'
19: from /usr/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
18: from /usr/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/commands/build.rb:36:in `process'
17: from /usr/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/commands/build.rb:65:in `build'
16: from /usr/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:28:in `process_site'
15: from /usr/lib/ruby/gems/2.7.0/gems/jekyll-locales-0.1.12/lib/jekyll/locales/site.rb:19:in `process'
14: from /usr/lib/ruby/gems/2.7.0/gems/jekyll-locales-0.1.12/lib/jekyll/locales/site.rb:19:in `each'
13: from /usr/lib/ruby/gems/2.7.0/gems/jekyll-locales-0.1.12/lib/jekyll/locales/site.rb:32:in `block in process'
12: from /usr/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:82:in `process'
11: from /usr/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:230:in `write'
10: from /usr/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:356:in `each_site_file'
9: from /usr/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:356:in `each'
8: from /usr/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:357:in `block in each_site_file'
7: from /usr/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:357:in `each'
6: from /usr/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:358:in `block (2 levels) in each_site_file'
5: from /usr/lib/ruby/gems/2.7.0/gems/jekyll-4.2.0/lib/jekyll/site.rb:231:in `block in write'
4: from /usr/lib/ruby/gems/2.7.0/gems/jekyll-hardlinks-0.1.2/lib/jekyll/static_file.rb:21:in `write'
3: from /usr/lib/ruby/2.7.0/fileutils.rb:306:in `ln'
2: from /usr/lib/ruby/2.7.0/fileutils.rb:1605:in `fu_each_src_dest0'
1: from /usr/lib/ruby/2.7.0/fileutils.rb:308:in `block in ln'
/usr/lib/ruby/2.7.0/fileutils.rb:308:in `link': Cross-device link @ rb_file_s_link - (/usr/lib/ruby/gems/2.7.0/gems/sutty-jekyll-theme-0.1.2/assets/fonts/saira/LICENSE, /Sutty/sitio/_site/assets/fonts/saira/LICENSE) (Errno::EXDEV)