There is no such file or directory - specify using Mini Magick

my rails application worked smoothly before I got a different user interface. I have been trying to resolve this error for 3 days. Here is the error:

No such file or directory - identify Extracted source (around line #59): 57 58 59 60 61 62 @post = Post.find(params[:id]) authorize @post if @post.update_attributes(post_params) flash[:notice] = "Post was updated." redirect_to [@topic, @post] else {"utf8"=>"βœ“", "_method"=>"patch", "authenticity_token"=>"A817ZJp/WMHt+U0ROTvVFs8OMZCz6MbF9/pDSa9ZDWo=", "post"=>{"title"=>"Zouk Club", "body"=>"Testing a new post\r\n```\r\nhttp://www.zoukclub.com/\r\n```", "tag_list"=>"bar, club, lifestyle", "image"=>#<ActionDispatch::Http::UploadedFile:0x000001061e1138 @tempfile=#<Tempfile:/var/folders/7b/h8rkx52141z_4xj_0yzbsdjw0000gn/T/RackMultipart20141111-25635-i2v4vj>, @original_filename="zouk3.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"post[image]\"; filename=\"zouk3.jpg\"\r\nContent-Type: image/jpeg\r\n">}, "commit"=>"Save", "topic_id"=>"1", "id"=>"1"} 

I tried the updated Mini Magick and downgraded it to 3.50, as suggested by other posts on Stack Overflow, but I still run into this problem.

Does anyone know what the problem is? I kind of lost here ...

+5
source share
1 answer

You need to install ImageMagick. Try to enter

 which identify 

to your terminal. If nothing comes back, you probably don't have ImageMagick.

+8
source

Source: https://habr.com/ru/post/1206649/


All Articles