Errno::ENOENT (No such file or directory - identify -quiet -ping

Hi

Im trying to create a site to upload images and list them stored in AWS.
Im getting an error and Im having a hard time trying to fix it. Looks
like the error is here:

Errno::ENOENT (No such file or directory - identify -quiet -ping
C:/Users/Richar
d/AppData/Local/Temp/mini_magick20150903-11160-1819vb2.jpg):
app/controllers/posts_controller.rb:27:in `create’

I checked this folder and the image is here but maybe there is a problem
with the image being resized and uploaded to AWS

Here are the details:

Started GET “/posts/new” for ::1 at 2015-09-03 18:59:56 -0400
Processing by PostsController#new as HTML
Rendered posts/_form.html.erb (411.3ms)
Rendered posts/new.html.erb within layouts/application (466.3ms)
Completed 200 OK in 732ms (Views: 715.5ms | ActiveRecord: 2.0ms)

Started POST “/posts” for ::1 at 2015-09-03 19:00:00 -0400
Processing by PostsController#create as HTML
Parameters: {“utf8”=>“V”,
“authenticity_token”=>“EiNMh3/6JcFdRgg3KiIlRvV0gSVPW
Tcvh+oTKzy/QCymSQ0xlOPaobqSxO0nW9Nfxq1V9noUncXYGRRNSI8wvQ==”,
“post”=>{“caption”
=>"", “description”=>"", “alttext”=>""}, “commit”=>“Create Post”}
(0.0ms) begin transaction
(0.0ms) rollback transaction
Rendered posts/_form.html.erb (12.0ms)
Rendered posts/new.html.erb within layouts/application (27.0ms)
Completed 200 OK in 307ms (Views: 286.2ms | ActiveRecord: 0.0ms)

Started POST “/posts” for ::1 at 2015-09-03 19:00:51 -0400
Processing by PostsController#create as HTML
Parameters: {“utf8”=>“V”,
“authenticity_token”=>“rAKRCKrxP/TQEWOAckKkVM7EgUoUf
85gXw/28Gr7RTYYaNC+QejAlDfFr1p/O1JN/R1VmSEyZIoA/PGWHss1pw==”,
“post”=>{“caption”
=>“test”, “image”=>#<ActionDispatch::Http::UploadedFile:0x9e61b70
@tempfile=#<Te
mpfile:C:/Users/Richard/AppData/Local/Temp/RackMultipart20150903-11160-1j4ezi5.j
pg>, @original_filename=“IMG_20150619_071346.jpg”,
@content_type=“image/jpeg”, @
headers=“Content-Disposition: form-data; name=“post[image]”;
filename=“IMG_20
150619_071346.jpg”\r\nContent-Type: image/jpeg\r\n”>,
“description”=>“test”, “a
lttext”=>“test”}, “commit”=>“Create Post”}
Completed 500 Internal Server Error in 346ms (ActiveRecord: 0.0ms)

Errno::ENOENT (No such file or directory - identify -quiet -ping
C:/Users/Richar
d/AppData/Local/Temp/mini_magick20150903-11160-1819vb2.jpg):
app/controllers/posts_controller.rb:27:in `create’

Rendered
C:/Ruby21/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispat
ch/middleware/templates/rescues/_source.erb (1.0ms)
Rendered
C:/Ruby21/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispat
ch/middleware/templates/rescues/_trace.html.erb (11.0ms)
Rendered
C:/Ruby21/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispat
ch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms)
Rendered
C:/Ruby21/lib/ruby/gems/2.1.0/gems/actionpack-4.2.4/lib/action_dispat
ch/middleware/templates/rescues/diagnostics.html.erb within
rescues/layout (479.
8ms)
Cannot render console with content type multipart/form-dataAllowed
content types
: [#<Mime::Type:0x4c6dc70 @synonyms=[“application/xhtml+xml”],
@symbol=:html, @s
tring=“text/html”>, #<Mime::Type:0x4c6dac0 @synonyms=[], @symbol=:text,
@string=
“text/plain”>, #<Mime::Type:0x4c6e870 @synonyms=[],
@symbol=:url_encoded_form, @
string=“application/x-www-form-urlencoded”>]
[2015-09-03 22:38:57] INFO going to shutdown …
[2015-09-03 22:38:57] INFO WEBrick::HTTPServer#start done.

On Fri, Sep 4, 2015 at 10:05 AM, Richard B.
[email protected]
wrote:

Errno::ENOENT (No such file or directory - identify -quiet -ping

This is your issue. You don’t have the identify program on your path. As
I
don’t know Windows at all, I can’t help you get it there, other than to
say
make sure you have ImageMagick installed.