Open martincostello opened 4 months ago
hmm, I fixed that earlier today. I wonder if it's cached the old code because that line of code has changed it. I wonder if you need to re-run the docker build?
I only forked things in the last hour or so, so my clone should be up-to-date.
I did try rebuilding things, but I'll try clearing the cache and doing it again.
Yeah, same error with docker build --no-cache -t eurovisionhue .
weird - although I've realised that that code is in the lights
library rather than my library (I rename FIle.exists?
to File.exist?
https://github.com/cnorthwood/eurovisionhue/blob/master/eurovisionhue.rb#L91). I wonder if you have the base Docker image to an older Ruby version that'd still work?
I'll try changing the tag on the base image to something older and see what happens.
I've gotten it working by changing the base image to FROM ruby:3.0
🥳
I use Windows, and trying to run the scripts natively in WSL was giving me a load of pain, so I thought I'd try the Dockerfile instead.
However, when I run it I just get an error in the lights gem:
Hopefully it's something simple, but I'm just following the steps in the README and it's getting me nowhere.