Closed danhalliday closed 4 years ago
Got it — this is due to the latest Imgix gem’s use of a domain
argument for Imgix::Client.new
, which the dato
gem doesn’t pass in. It doesn’t actually look like it’s anything to do with Middleman 5 or middleman-dato
. The version of the Imgix gem in dato
probably needs an upper version constraint. Here’s my fixed Gemfile with the downgraded Imgix gem:
source "https://rubygems.org"
gem "rake"
gem "middleman", git: "https://github.com/middleman/middleman", tag: "v5.0.0.rc.1"
gem "middleman-livereload", "~> 3.4"
gem "middleman-dato", "~> 0.9.0"
gem "dato", "~> 0.7.13"
gem "imgix", "~> 0.3.1"
Thanks, working on it!
hey @danhalliday we've released version 0.7.14 of our gem that should solve the issue.
I'm closing here, but feel free to reopen if it's not fixed!
I get the following error when calling the
url
method on an image while usingmiddleman-data
with the Middleman 5 release candidate:I'm using the latest gems:
Any ideas what I could tweak to get this gem working with Middleman 5? I guess the Imgix code in the data gem isn’t getting initialised properly.