Хорошо, так что это второй раз, когда я сталкиваюсь с этой проблемой - см. Предыдущий вопрос Rails paperclip img upload error: "no file chosen" with rmagick installed.Rails paperclip, ImageMagick img upload error - 'no file selected'
Поскольку у меня не было подходящего решения, я не уверен, что его вызывает. Из моих исследований кажется, что это потому, что я нахожусь в 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>
Есть идеи?
Спасибо!
Я не апачский работает на моей машине ... – emilsw