Fixed installation issue due to newer versions of ruby and imagemagick