0

그래,이 문제가 발생하면 두 번째입니다. 이전 질문 Rails paperclip img upload error: "no file chosen" with rmagick installed을 참조하십시오.레일 클립, ImageMagick img 업로드 오류 - '파일을 선택하지 않았습니다'

나는 적절한 해결책을 생각해 내지 못했기 때문에, 무엇이 그 원인인지 확실하지 않습니다. 내 연구 결과 Windows 7을 사용하고있는 것으로 보입니다.

모델이나 양식을 변경하지 않았습니다.

하지만 중첩 된 양식을 사용하려고 할 때 - 나는 단순히 '선택 어떤 파일을'얻을

그러나 콘솔에서 이미지를 만든 후 :

<te :image => File.open('C:/sites/thrillb/app/assets/images/ins1.jpg') 
identify.exe: unable to open image `file': No such file or directory @ error/blo 
b.c/OpenBlob/2641. 
identify.exe: no decode delegate for this image format `file' @ error/constitute 
.c/ReadImage/544. 
identify.exe: unable to open image `file': No such file or directory @ error/blo 
b.c/OpenBlob/2641. 
identify.exe: no decode delegate for this image format `file' @ error/constitute 
.c/ReadImage/544. 
identify.exe: unable to open image `file': No such file or directory @ error/blo 
b.c/OpenBlob/2641. 
identify.exe: no decode delegate for this image format `file' @ error/constitute 
.c/ReadImage/544. 
=> #<Image id: nil, image_file_name: "ins1.jpg", image_content_type: "image/jpeg 
", image_file_size: 293718, image_updated_at: "2012-11-03 10:17:11", trip_id: ni 
l, created_at: nil, updated_at: nil, title: nil, location_id: nil> 
irb(main):002:0> 

어떤 아이디어를?

감사합니다.

답변

0

해결되었습니다. 대답은 여기에 - Paperclip File Not Found Error입니다.

마치 종이 클립 오류입니다. 이 보석을 추가 할 수

필요는 gemfile합니다 : 내 컴퓨터에 아파치 실행이없는

gem "cocaine", "0.3.2"