RailsCasts Pro episodes are now free!

Learn more or hide this

AdolfoFermo's Profile

GitHub User: adolfofermo

Comments by AdolfoFermo

Avatar

Hi! i'm having the exact same issue as @Kevin Whitaker. But also i don't get the logic of this fix, i dont have any child - parent relationship, i only have my avatar attached to a user and thats it. Maybe i'm not getting the logic right, so if someone could solve that 406 problem (blank HTML screen) please help me.

Thanks in advance.

Avatar

I cant install redcarpet, im using windows :(! "Error: Failed to build gem native extensions." Someone could?

Avatar

@Kevin you could solve the problem?! I thin that we have the same issue, because when i update the picture, i got a blank screen, it doesnt take me to crop.html.erb. When i refresh that blank screen i got the new updated picture. Could you help me please?

Thanks in advance!

Avatar

If you are on Windows, the solution for the 'identity' issue its to create a paperclip.rb in the initializers folder and type:

require "paperclip"

Paperclip.options[:command_path] = 'C:\ImageMagick-6.7.0-Q16'
Paperclip.options[:swallow_stderr] = false

Obviously check for the path where you installed the ImgMagick and the version, mine its 6.7.0 and worked fine in a x64 system...

Avatar

Hi everyone! i made everything as the episode said, but the AJAX its not working. I removed the respond_to block, doesnt worked, also i added the format.js line that Jamil said, but also didnt worked.

Also added the two lines of Mike Bethany, and nothing... Please someone that could help me. Thanks!