Error when trying to render animation with julialang - animation

I am trying to get into animations using the Plots package. I am following this tutorial: https://docs.juliaplots.org/latest/animations/
However when trying to execute the program I get the following error:
ERROR: LoadError: failed process: Process(`/home/olep/.julia/artifacts/7f40eeb66d90d3026ae5fb68761c263b57adb840/bin/ffmpeg -v 16 -framerate 3 -i /tmp/jl_h1sGUw/%06d.png -i /tmp/jl_h1sGUw/palette.bmp -lavfi paletteuse=dither=sierra2_4a -loop 0 -y /home/olep/Documents/Studium/Semester2/tutorial_anim_fps30.gif`, ProcessSignaled(11)) [0]
Stacktrace:
[1] run
# ./process.jl:438 [inlined]
[2] (::FFMPEG.var"#4#6"{Cmd})(command_path::String)
# FFMPEG ~/.julia/packages/FFMPEG/aazvf/src/FFMPEG.jl:114
[3] (::JLLWrappers.var"#2#3"{FFMPEG.var"#4#6"{Cmd}, String})()
# JLLWrappers ~/.julia/packages/JLLWrappers/bkwIo/src/runtime.jl:49
[4] withenv(::JLLWrappers.var"#2#3"{FFMPEG.var"#4#6"{Cmd}, String}, ::Pair{String, String}, ::Vararg{Pair{String, String}, N} where N)
# Base ./env.jl:161
[5] withenv_executable_wrapper(f::Function, executable_path::String, PATH::String, LIBPATH::String, adjust_PATH::Bool, adjust_LIBPATH::Bool)
# JLLWrappers ~/.julia/packages/JLLWrappers/bkwIo/src/runtime.jl:48
[6] #invokelatest#2
# ./essentials.jl:708 [inlined]
[7] invokelatest
# ./essentials.jl:706 [inlined]
[8] #ffmpeg#7
# ~/.julia/packages/JLLWrappers/bkwIo/src/products/executable_generators.jl:7 [inlined]
[9] ffmpeg
# ~/.julia/packages/JLLWrappers/bkwIo/src/products/executable_generators.jl:7 [inlined]
[10] #exe#2
# ~/.julia/packages/FFMPEG/aazvf/src/FFMPEG.jl:113 [inlined]
[11] ffmpeg_exe
# ~/.julia/packages/FFMPEG/aazvf/src/FFMPEG.jl:125 [inlined]
[12] buildanimation(anim::Animation, fn::String, is_animated_gif::Bool; fps::Int64, loop::Int64, variable_palette::Bool, verbose::Bool, show_msg::Bool)
# Plots ~/.julia/packages/Plots/vVVub/src/animation.jl:98
[13] #gif#232
# ~/.julia/packages/Plots/vVVub/src/animation.jl:64 [inlined]
[14] top-level scope
# ~/Documents/Studium/Semester2/EM2/HW/01/animTest.jl:11
in expression starting at /home/olep/Documents/Studium/Semester2/EM2/HW/01/animTest.jl:11
I am on manjaro (Arch linux).
Any ideas what’s going wrong?

Manjaro:
Reinstall julia -> julia-bin
sudo pamac install julia-bin

Related

Cypress intercept not finding fixture file

cy.intercept('POST', '/api/create_payment_intent', {
fixture: 'payment_intent.json', // fixture file with mocked response
}).as('createPaymentIntent');
payment_intent.json file exists at cypress/fixtures/ directory filled with valid json.
Error:
[1] [1] Error: An error was thrown while processing a network event: A fixture file could not be found at any of the following paths:
[1] [1]
[1] [1] > cypress/fixtures/payment_intent.json
[1] [1] > cypress/fixtures/payment_intent.json{{extension}}
[1] [1]
[1] [1] Cypress looked for these file extensions at the provided path:
[1] [1]
[1] [1] > .json, .js, .coffee, .html, .txt, .csv, .png, .jpg, .jpeg, .gif, .tif, .tiff, .zip
[1] [1]
[1] [1] Provide a path to an existing fixture file.
[1] [1]
[1] [1] Because this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `Neo4j Aura Console - Common`
[1] [1] Error: A fixture file could not be found at any of the following paths:
[1] [1]
[1] [1] > cypress/fixtures/payment_intent.json
[1] [1] > cypress/fixtures/payment_intent.json{{extension}}
[1] [1]
[1] [1] Cypress looked for these file extensions at the provided path:
Hoe does one debug this when I have done exactly what the documentation has stated?

Module not found: Error: Can't resolve 'spdx-exceptions'

I get this error while executing a script for building kibana version 7.9.1. That build usually runs smoothly. The new thing in my case is that I replaced dependencies like #elastic/eui with a customized #elastic/eui npm package published on my gitlab package registry. Application runs without any problem when launched in dev mode with yarn start. The error arises in the course of the build of the docker images.
More logs here:
Built at: 10/07/2021 3:56:20 PM
Asset Size Chunks Chunk Names
index.js 2.21 MiB 0 [emitted] index
Entrypoint index = index.js
[0] ./src/index.ts 1.09 KiB {0} [built]
[1] ./src/cli.ts 3.5 KiB {0} [built]
[4] external "path" 42 bytes {0} [built]
[5] ../kbn-dev-utils/target/tooling_log/index.js 1.79 KiB {0} [built]
[112] external "util" 42 bytes {0} [built]
[127] ./src/commands/index.ts 1.06 KiB {0} [built]
[130] ./src/utils/fs.ts 3.02 KiB {0} [built]
[133] external "fs" 42 bytes {0} [built]
[143] ./src/utils/log.ts 1.54 KiB {0} [built]
[145] ./src/utils/projects.ts 6.3 KiB {0} [built]
[162] ./src/utils/errors.ts 921 bytes {0} [built]
[163] ./src/utils/project.ts 8.26 KiB {0} [built]
[266] ./src/utils/workspaces.ts 2.82 KiB {0} [built]
[267] ./src/config.ts 2.54 KiB {0} [built]
[480] ./src/production/index.ts 954 bytes {0} [built]
+ 687 hidden modules
ERROR in /mnt/ssd/projects/okp4bi/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/scan.js
Module not found: Error: Can't resolve 'spdx-exceptions' in '/mnt/ssd/projects/okp4bi/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse'
# /mnt/ssd/projects/okp4bi/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/scan.js 6:17-43
# /mnt/ssd/projects/okp4bi/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/index.js
# /mnt/ssd/projects/okp4bi/node_modules/validate-npm-package-license/index.js
# /mnt/ssd/projects/okp4bi/node_modules/normalize-package-data/lib/fixer.js
# /mnt/ssd/projects/okp4bi/node_modules/normalize-package-data/lib/normalize.js
# /mnt/ssd/projects/okp4bi/node_modules/read-pkg/index.js
# ./src/utils/package_json.ts
# ./src/utils/workspaces.ts
# ./src/index.ts
ERROR in /mnt/ssd/projects/okp4bi/node_modules/validate-npm-package-license/node_modules/spdx-correct/index.js
Module not found: Error: Can't resolve 'spdx-license-ids' in '/mnt/ssd/projects/okp4bi/node_modules/validate-npm-package-license/node_modules/spdx-correct'
# /mnt/ssd/projects/okp4bi/node_modules/validate-npm-package-license/node_modules/spdx-correct/index.js 17:21-48
# /mnt/ssd/projects/okp4bi/node_modules/validate-npm-package-license/index.js
# /mnt/ssd/projects/okp4bi/node_modules/normalize-package-data/lib/fixer.js
# /mnt/ssd/projects/okp4bi/node_modules/normalize-package-data/lib/normalize.js
# /mnt/ssd/projects/okp4bi/node_modules/read-pkg/index.js
# ./src/utils/package_json.ts
# ./src/utils/workspaces.ts
# ./src/index.ts
ERROR in /mnt/ssd/projects/okp4bi/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/scan.js
Module not found: Error: Can't resolve 'spdx-license-ids' in '/mnt/ssd/projects/okp4bi/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse'
# /mnt/ssd/projects/okp4bi/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/scan.js 4:10-37
# /mnt/ssd/projects/okp4bi/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/index.js
# /mnt/ssd/projects/okp4bi/node_modules/validate-npm-package-license/index.js
# /mnt/ssd/projects/okp4bi/node_modules/normalize-package-data/lib/fixer.js
# /mnt/ssd/projects/okp4bi/node_modules/normalize-package-data/lib/normalize.js
# /mnt/ssd/projects/okp4bi/node_modules/read-pkg/index.js
# ./src/utils/package_json.ts
# ./src/utils/workspaces.ts
# ./src/index.ts
ERROR in /mnt/ssd/projects/okp4bi/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/scan.js
Module not found: Error: Can't resolve 'spdx-license-ids/deprecated' in '/mnt/ssd/projects/okp4bi/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse'
# /mnt/ssd/projects/okp4bi/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/scan.js 5:10-48
# /mnt/ssd/projects/okp4bi/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/index.js
# /mnt/ssd/projects/okp4bi/node_modules/validate-npm-package-license/index.js
# /mnt/ssd/projects/okp4bi/node_modules/normalize-package-data/lib/fixer.js
# /mnt/ssd/projects/okp4bi/node_modules/normalize-package-data/lib/normalize.js
# /mnt/ssd/projects/okp4bi/node_modules/read-pkg/index.js
# ./src/utils/package_json.ts
# ./src/utils/workspaces.ts
# ./src/index.ts
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
│ERROR failure 10 sec
│ERROR Error: Command failed with exit code 2: yarn run build
│ at makeError (/mnt/ssd/projects/okp4bi/packages/kbn-pm/dist/index.js:22616:11)
│ at handlePromise (/mnt/ssd/projects/okp4bi/packages/kbn-pm/dist/index.js:21552:26)
│ at process._tickCallback (internal/process/next_tick.js:68:7)

why i cant publish package in laravel

When I Use php artisan vendor:publish This Code Ask To me for chose Pack for publish and When i type package Number Like (10) and Press Enter I Have This Error
E:\laravel\okdd>11
'11' is not recognized as an internal or external command,
operable program or batch file.
This is My Package's List When i type php artisan vendor:publish
E:\laravel\okdd>php artisan vendor:publish
Which provider or tag's files would you like to publish?:
[0 ] Publish files from all providers and tags listed below
[1 ] Provider: Anhskohbo\NoCaptcha\NoCaptchaServiceProvider
[2 ] Provider: Cviebrock\EloquentSluggable\ServiceProvider
[3 ] Provider: Facade\Ignition\IgnitionServiceProvider
[4 ] Provider: Fideloper\Proxy\TrustedProxyServiceProvider
[5 ] Provider: Fruitcake\Cors\CorsServiceProvider
[6 ] Provider: Illuminate\Foundation\Providers\FoundationServiceProvider
[7 ] Provider: Illuminate\Mail\MailServiceProvider
[8 ] Provider: Illuminate\Notifications\NotificationServiceProvider
[9 ] Provider: Illuminate\Pagination\PaginationServiceProvider
[10] Provider: Laravel\Tinker\TinkerServiceProvider
[11] Provider: Shetabit\Payment\Provider\PaymentServiceProvider
[12] Provider: anlutro\LaravelSettings\ServiceProvider
[13] Tag: config
[14] Tag: cors
[15] Tag: flare-config
[16] Tag: ignition-config
[17] Tag: laravel-errors
[18] Tag: laravel-mail
[19] Tag: laravel-notifications
[20] Tag: laravel-pagination
[21] Tag: migrations
[22] Tag: views
>
Aborted.
I have had the same issue and I found that u could type this:
php artisan vendor:publish --provider="Shetabit\Payment\Provider\PaymentServiceProvider"
So you just write the provider name/path that you want to be published inside
--provider="Here".
Unfortunately, I couldn't find the reason why this error happens.

Remoteexception error on EC2 in parallel julia

I am trying to run some parallel code in Julia on an Ubuntu Amazon EC2 server and when I try to run it I get the following error:
ERROR: LoadError: MethodError: `+` has no method matching +(::RemoteException, ::RemoteException)
Closest candidates are:
+(::Any, ::Any, ::Any, ::Any...)
in mapreduce_seq_impl at ./reduce.jl:228
while loading /home/ubuntu/GameenderProd.jl, in expression starting on line 8
This is the code that generates the error:
using DecisionTree
#everywhere include("GameenderDrone.jl")
for i=0:4:8
for j=0:4:60
for k=0:4:8
for l=0:4:60
if i + j < 61 && k + l < 61 && (i<k || (i==k && j<=l))
rt=Matrix(0,1)
for q=1:100
library1=creatlib(j,i)
library2=creatlib(l,k)
player1=Player(Int8(1),Int8(20),[],[],[],[],[],Int8(0),Int8(8),Int8(size(library1)[1]))
player2=Player(Int8(2),Int8(20),[],[],[],[],[],Int8(0),Int8(8),Int8(size(library2)[1]))
player1.hand=library1[1:7]
player2.hand=library2[1:7]
rt=[rt; StartTable(library1,library2,player1,player2)]
end
result=pmap(gamerunner,rt)
total=sum(result)-100
rt=Matrix(0,1)
for q=1:100
library1=creatlib(l,k)
library2=creatlib(j,i)
player1=Player(Int8(1),Int8(20),[],[],[],[],[],Int8(0),Int8(8),Int8(size(library1)[1]))
player2=Player(Int8(2),Int8(20),[],[],[],[],[],Int8(0),Int8(8),Int8(size(library2)[1]))
player1.hand=library1[1:7]
player2.hand=library2[1:7]
rt=[rt; StartTable(library1,library2,player1,player2)]
end
negresult=pmap(gamerunner,rt)
total2=200-sum(negresult)
sumtotal=total + total2
output=[total total2 sumtotal]
cd("//home/ubuntu/result")
test=string(i,"C",j,"Lv",k,"C",l,"L.csv")
writedlm(test,output,",")
cd("//home/ubuntu")
end
end
end
end
end
When I test it with one worker on Juliabox (after changing the cd commands) it seems to work. Can anyone explain this error to me?
EDIT: Testing it on Juliabox with 12 workers generates the following error, and it appears the first file finished
juser#juliabox:~$ julia -p 12
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: https://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.6.0 (2017-06-19 13:05 UTC)
_/ |\__'_|_|_|\__'_| | Official http://julialang.org/ release
|__/ | x86_64-pc-linux-gnu
julia> include("GameenderProd.jl")
Worker 6 terminated.
ERROR (unhandled task failure): EOFError: read end of file
ERROR: LoadError: ProcessExitedException()
Stacktrace:
[1] #568 at ./asyncmap.jl:178 [inlined]
[2] foreach(::Base.##568#570, ::Array{Any,1}) at ./abstractarray.jl:1731
[3] maptwice(::Function, ::Channel{Any}, ::Array{Any,1}, ::Array{Any,2}, ::Vararg{Array{Any,2},N} where N) at ./asyncmap.jl:178
[4] wrap_n_exec_twice(::Channel{Any}, ::Array{Any,1}, ::Base.Distributed.##204#207{WorkerPool}, ::Function, ::Array{Any,2}, ::Vararg{Array{Any,2},N} where N) at ./a
syncmap.jl:154
[5] #async_usemap#553(::Function, ::Void, ::Function, ::Base.Distributed.##188#190, ::Array{Any,2}, ::Vararg{Array{Any,2},N} where N) at ./asyncmap.jl:103
[6] (::Base.#kw##async_usemap)(::Array{Any,1}, ::Base.#async_usemap, ::Function, ::Array{Any,2}, ::Vararg{Array{Any,2},N} where N) at ./<missing>:0
[7] (::Base.#kw##asyncmap)(::Array{Any,1}, ::Base.#asyncmap, ::Function, ::Array{Any,2}) at ./<missing>:0
[8] #pmap#203(::Bool, ::Int64, ::Void, ::Array{Any,1}, ::Void, ::Function, ::WorkerPool, ::Function, ::Array{Any,2}) at ./distributed/pmap.jl:126
[9] pmap(::WorkerPool, ::Function, ::Array{Any,2}) at ./distributed/pmap.jl:101
[10] #pmap#213(::Array{Any,1}, ::Function, ::Function, ::Array{Any,2}) at ./distributed/pmap.jl:156
[11] macro expansion at /home/juser/GameenderProd.jl:40 [inlined]
[12] anonymous at ./<missing>:?
[13] include_from_node1(::String) at ./loading.jl:569
[14] include(::String) at ./sysimg.jl:14
while loading /home/juser/GameenderProd.jl, in expression starting on line 9

jekyll not updating static CSS, HTML files in docker development container

I am debugging an issue where I am doing my development inside of a Docker container, but Jekyll is not properly updating static HTML or CSS files after the first time it has been written. I have added the following code to static_file.rb after line 83:
sha256_src = Digest::SHA256.file path
sha256_dst = Digest::SHA256.file dest_path
fail "invalid file copy: #{path} / #{dest_path}" unless sha256_src == sha256_dst
And I see that the fail triggered because the hash does not match. Instead, an older version of the static file at path has been copied to dest_path. I thought I was losing my mind, but I know that Docker uses layered file systems and so I wonder if I am hitting some kind of bug or known issue.
Are there any known issues with using the following technologies in tandem with each other:
Jekyll
Docker containers
Linux containers
FileUtils cp method
Ruby 2.2.3p173
I have had to work around it by running the following command:
cp s5/*.css _site/s5/
cp s5/*.html _site/s5/
Instead of having it work automatically for me with jekyll build.
Here is how I am linking my files to the docker image:
export ABSPATH=$(cd "$(dirname "$0")"; cd ../; pwd)
docker run -d --name static -t -i -p 4000:4000 -p 2422:22 --link static-db:db -v "$ABSPATH:/mnt/app" me/static:0.0.2 /sbin/my_init --enable-insecure-key
Docker version:
Client:
Version: 1.8.3
API version: 1.20
Go version: go1.4.2
Git commit: f4bf5c7
Built: Mon Oct 12 18:01:15 UTC 2015
OS/Arch: darwin/amd64
Server:
Version: 1.8.3
API version: 1.20
Go version: go1.4.2
Git commit: f4bf5c7
Built: Mon Oct 12 18:01:15 UTC 2015
OS/Arch: linux/amd64
Docker info:
Containers: 10
Images: 265
Storage Driver: aufs
Root Dir: /mnt/sda1/var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 285
Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 4.1.10-boot2docker
Operating System: Boot2Docker 1.8.3 (TCL 6.4); master : af8b089 - Mon Oct 12 18:56:54 UTC 2015
CPUs: 1
Total Memory: 3.859 GiB
Name: dev
ID: ZY6F:2VSO:EDRL:TWYE:JAS6:5GC3:PPAO:TNA6:KCCB:HFLC:4IQB:5BYE
Debug mode (server): true
File Descriptors: 21
Goroutines: 33
System Time: 2015-10-18T18:36:20.08630971Z
EventsListeners: 0
Init SHA1:
Init Path: /usr/local/bin/docker
Docker Root Dir: /mnt/sda1/var/lib/docker
Username: me
Registry: https://index.docker.io/v1/
Labels:
provider=virtualbox
I am running this linked to a volume on OSX.
Here is an interactive session using binding.pry inside of static_file.rb. You can see that FileUtils.cp is not working properly.
In step 9-10 one can see I am manually invoking the FileUtils::cp command, and the resulting file hash is aa75cd.... I even try using FileUtils.cp to copy my original file to a different file path without success. However, in step 20-21, when I invoke the shell cp command directly using cp, it works and the resulting file has the proper hash of 724707....
Parsing Haml layouts...done.
Parsing Scss layouts...done.
Configuration file: /mnt/app/_config.yml
Source: /mnt/app
Destination: /mnt/app/_site
Generating...
From: /usr/local/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/lib/jekyll/static_file.rb # line 92 Jekyll::StaticFile#write:
77: def write(dest)
78: dest_path = destination(dest)
79:
80: return false if File.exist?(dest_path) and !modified?
81: ##mtimes[path] = mtime
82:
83: FileUtils.mkdir_p(File.dirname(dest_path))
84: FileUtils.rm(dest_path) if File.exist?(dest_path)
85:
86: FileUtils.cp(path, dest_path)
87:
88: sha256_src = Digest::SHA256.file path
89: sha256_dst = Digest::SHA256.file dest_path
90:
91: if sha256_src != sha256_dst
=> 92: binding.pry
93: end
94: puts "invalid file copy: #{path} / #{dest_path}" unless sha256_src == sha256_dst
95:
96: true
97: end
[1] pry(#<Jekyll::StaticFile>)> path
=> "/mnt/app/styles/scruff5.css"
[2] pry(#<Jekyll::StaticFile>)> dest_path
=> "/mnt/app/_site/styles/scruff5.css"
[3] pry(#<Jekyll::StaticFile>)> Digest::SHA256.file path
=> #<Digest::SHA256: 72470716291c6fef0c8c2151a0d0997f0991396cda964ba48e3cbb65cc7f7908>
[4] pry(#<Jekyll::StaticFile>)> Digest::SHA256.file dest_path
=> #<Digest::SHA256: aa75cd20ddf51b86ec2344002532f08891e05eb1a0a9f7e5f99d8fda05c5c920>
[5] pry(#<Jekyll::StaticFile>)> dest_path
=> "/mnt/app/_site/styles/scruff5.css"
[6] pry(#<Jekyll::StaticFile>)> FileUtils.rm(dest_path)
=> ["/mnt/app/_site/styles/scruff5.css"]
[7] pry(#<Jekyll::StaticFile>)> Digest::SHA256.file dest_path
Errno::ENOENT: No such file or directory # rb_sysopen - /mnt/app/_site/styles/scruff5.css
from /usr/local/lib/ruby/2.2.0/digest.rb:49:in `initialize'
[8] pry(#<Jekyll::StaticFile>)> Digest::SHA256.file path
=> #<Digest::SHA256: 72470716291c6fef0c8c2151a0d0997f0991396cda964ba48e3cbb65cc7f7908>
[9] pry(#<Jekyll::StaticFile>)> FileUtils.cp(path, dest_path)
=> nil
[10] pry(#<Jekyll::StaticFile>)> Digest::SHA256.file dest_path
=> #<Digest::SHA256: aa75cd20ddf51b86ec2344002532f08891e05eb1a0a9f7e5f99d8fda05c5c920>
[11] pry(#<Jekyll::StaticFile>)> dest_path
=> "/mnt/app/_site/styles/scruff5.css"
[12] pry(#<Jekyll::StaticFile>)> dest_path = dest_path + '-2'
=> "/mnt/app/_site/styles/scruff5.css-2"
[13] pry(#<Jekyll::StaticFile>)> FileUtils.cp(path, dest_path)
=> nil
[14] pry(#<Jekyll::StaticFile>)> FileUtils.cp(path, dest_path)
=> nil
[15] pry(#<Jekyll::StaticFile>)> Digest::SHA256.file dest_path
=> #<Digest::SHA256: aa75cd20ddf51b86ec2344002532f08891e05eb1a0a9f7e5f99d8fda05c5c920>
[16] pry(#<Jekyll::StaticFile>)> (Digest::SHA256.file dest_path).hexdigest
=> "aa75cd20ddf51b86ec2344002532f08891e05eb1a0a9f7e5f99d8fda05c5c920"
[17] pry(#<Jekyll::StaticFile>)> (Digest::SHA256.file path).hexdigest
=> "72470716291c6fef0c8c2151a0d0997f0991396cda964ba48e3cbb65cc7f7908"
[18] pry(#<Jekyll::StaticFile>)> FileUtils.rm dest_path
=> ["/mnt/app/_site/styles/scruff5.css-2"]
[19] pry(#<Jekyll::StaticFile>)> dest_path = '/mnt/app/_site/styles/scruff5.css'
=> "/mnt/app/_site/styles/scruff5.css"
[20] pry(#<Jekyll::StaticFile>)> `cp #{path} #{dest_path}`
=> ""
[21] pry(#<Jekyll::StaticFile>)> Digest::SHA256.file dest_path
=> #<Digest::SHA256: 72470716291c6fef0c8c2151a0d0997f0991396cda964ba48e3cbb65cc7f7908>
[22] pry(#<Jekyll::StaticFile>)>
After doing the above analysis and determining that [FileUtils.cp][1] seemed to be at the root of this issue, I downgraded from Ruby 2.2.1 to Ruby 2.1.7p400, and this issue now appears to be corrected. It would appear that Ruby 2.2.1 has a potentially version serious regression in FileUtils.

Resources