jonbuda / miro

A Ruby gem to help extract the dominant colors from an image.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong number of arguments

rolkos opened this issue · comments

After updating to 0.4.0 I get 'Wrong number of arguments (7 for 6)' on

path = "/var/www/app/public/images/avatars/my_image.jgp"
colors = Miro::DominantColors(path)
colors.to_hex # here I get the error

I'm running this from my Rails app using Ruby 2.2.5

What can cause this type or error?

having the same issue using .to_rgb