Sunday, June 12, 2011

[Rails] Re: Carrierwave Is Not Loading RMagick

I tried switching to paperclip. But when I try to upload using
paperclip its telling me the image isn't recognized by the identify
command. But yet I can use identify in the command line. I'm
completely stumped.

On Jun 12, 4:06 pm, andrewperk <andrewp...@gmail.com> wrote:
> Thanks guys.
>
> @Agoofin
>
> Thanks for the link, but I've already read that and tried it out.
> Eveything works except for being able to install the gem with that
> method. I get something about extconf.rb failed.
>
> @Fernando
>
> I've tried to use mini_magick as well. My application loads just fine
> using that gem, but it will not process my image. It won't convert it
> to a thumb. The form reports an error saying Avatar failed to be
> processed.
>
> The weird thing is I have all of this working on an older windows XP
> pc. But I just can't get it to work on this vista pc.
>
> Thanks.
>
> On Jun 11, 7:11 pm, andrewperk <andrewp...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hello, I'm using Carrierwave to upload images. I'm on windows vista
> > using ruby192. I've downloaded the windows versions of imagemagick and
> > rmagick and followed the instructions in the readme. I have set my
> > path variables to my installations.
>
> > I can access identify in the command line so I know imagemagick is
> > working. I can even convert in the command line.
>
> > But when I start my server and try to access my application in the
> > browser I get:
>
> > no such file to load -- RMagick
>
> > When I type "gem list" in the CLI it shows I have rmagick installed:
>
> > rmagick (2.12.0 mswin32)
>
> > Is this maybe because I don't have rmagick in my gemfile? Is there a
> > way to make my gem file use this specific version of rmagick for
> > 2.12.0 mswin32? Because when I put just
>
> > gem 'rmagick'
>
> > and run bundle I get errors, I think I need to tell it to include this
> > specific gem because its for windows.
>
> > Thanks for any help.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate