As the documentation recommends, I tried following the instructions to install middleman-imageoptim
but get the following errors when I run middleman
:
:image_optim is deprecated. Please use `:imageoptim` instead.
== The Middleman is loading
/home/kiffin/.rvm/gems/ruby-2.3.1/gems/middleman-imageoptim-0.2.1/lib/middleman-imageoptim/resource_list.rb:68:in `resource_build_path': undefined method `build_dir' for #<Middleman::Application:0x33921860> (NoMethodError)
Did you mean? build?