Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some issues in Windows 10 #12

Open
Suleman-Elahi opened this issue Dec 11, 2018 · 1 comment
Open

Some issues in Windows 10 #12

Suleman-Elahi opened this issue Dec 11, 2018 · 1 comment

Comments

@Suleman-Elahi
Copy link

Suleman-Elahi commented Dec 11, 2018

OS and Ruby details:
Windows 10 64 bit, version 1803
Ruby version: 2.4.1; Rails version: 5.2.2

Issue No 1: == Command ["bin/rails db:setup"] failed ==

After running the command "ruby bin/setup" everything goes fine except it fails to execute "rails db:setup".

image

Issue no 2: ActiveRecord::RecordInvalid (Validation failed: Image Paperclip::Errors::NotIdentifiedByImageMagickError):

image

After creating a product, it is not saving that. When I click on the "Save" button nothing happens. There is this error on the console.

~PS Here I am a Ruby beginner so I can't figure out how to fix this. before running it on Windows, I failed in using this on Ubuntu 16.10 as well (there were errors in compiling process (while running ./bin/setup command)).

For reference here is the "application.yaml" file, tell me if I am doing something wrong..............................thanks..

@hirako2000
Copy link

hirako2000 commented Sep 27, 2019

I had this issue, looks like a bug in some version(s) of imagemagick v6

A fix is to remove imagmagick v6, install imagemagic 7, and link it.

Mac OS

brew uninstall imagemagick@6
brew install imagemagick@7
brew link imagemagick

Windows
I suppose... Uninstall v6, then grab and install v7 from there:
https://imagemagick.org/script/download.php#windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants