I thought I would update this for anyone who finds it in a search and needs help getting this working.
I believe my problem stemmed from using Pik and having two versions of Ruby installed. I'm not entirely sure about this but after removing it everything worked after I reinstalled it all. Here was the process for Windows Vista running Ruby192. 1. I first uninstalled everything. I uninstalled all versions of ruby/ gems, pik, and devkit. Restarted my PC. 2. I installed this version of Imagemagick into C:\ImageMagick-6.6.7-9- Q16, I checked every option during the install except for telling it to associate this program for file types or whatever: http://image_magick.veidrodis.com/image_magick/binaries/ImageMagick-6.6.7-9-Q16-windows-dll.exe 3. Inside of c:\ImageMagick-6.6.7-Q16\config I deleted the type- ghostscript.xml file and replaced it with a windows version which I downloaded at: http://www.imagemagick.org/source/type-windows.xml And I put that inside of c:\ImageMagick-6.6.7-Q16\config. 4. Next I downloaded and installed Devkit: https://github.com/oneclick/rubyinstaller/downloads/ 5. Then I installed the rmagick gem from the cmd command line I ran: gem install rmagick --platform=ruby -- --with-opt-lib=C: \ImageMagick-6.6.7-Q16\lib --with-opt-include=C:\ImageMagick-6.6.7- Q16\include This installed the gem just fine. If it doesn't try closing and reopening your command prompt. 6. I also called the rmagick gem from my gemfile: gem 'carrierwave' gem 'rmagick' Some other problems I ran into was sqlite3 not working properly you might need to download and extract both of these files into your ruby191/bin folder: http://www.sqlite.org/download.html I also had a problem with rake afterwards which I needed to update in the command line: gem install rake Then everything worked fine. On Jun 12, 10:09 am, Agoofin <[email protected]> wrote: > Rails on Windows is a painful process isn't it? > > I had some dealings with rmagick which were mitigated by using > Paperclip. > > I did find this though > -http://stackoverflow.com/questions/5811388/imagemagick-core-rl-magick... > > Hope this helps > > If you have the computer horsepower (Virtualbox) or the ability to > dual boot - get a Linux distro to develop with. > > On Jun 11, 10:11 pm,andrewperk<[email protected]> 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

