Walter Lockhart
2007-Nov-22 12:09 UTC
Problem Installing RMagick with Instant Rails on Windows
I''m running Instant Rails 1.4 on Windows XP with SP2. I have downloaded the Windows binary version of RMagick from the RubyForge page. Specifically, I have downloaded: 1.14.1 binary gem for Ruby 1.8.5 (fixed for RubyGems 0.9.4) RMagick-1.14.1_IM-6.3.0-7-Q8-2.zip I have removed any older versions of RMagick using: gem uninstall RMagick I have updated my version of rubygems. I executed the ImageMagick installer found in the zip file and selected the "Update executable search path" from the installation options. I then installed the gem: gem install rmagick --local and received the response: Successfully installed rmagick-1.14.1-unknown 1 gem installed Unfortunately, when I type the following at a Rails Console prompt:>> require ''RMagick''I receive the response: require ''RMagick''MissingSourceFile: no such file to load -- RMagick Similarly, when I attempt to use RMagick within my Rails application (I use it to resize an uploaded image) I get the following message: Problems loading rmagickProcessor: no such file to load -- RMagick When I place the line: require ''RMagick'' in the application''s environment.rb the application fails with the message: ExitingC:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:27:in `gem_original_require'': no such file to load -- RMagick (MissingSourceFile) I have been searching the Internet for days now and I still can''t seem to make progress. Can anyone out there please help me? Thanks in advance. Kind Regards Walter --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Walter Lockhart
2007-Nov-22 14:30 UTC
Re: Problem Installing RMagick with Instant Rails on Windows
I woud like to thank Robin Mayfield for indirectly resolving my similar issue with RMagick. RMagick is now installed and working. Here''s what I did: 1. Downloaded 0.9.4 RubyGems zip file. 2. Ran the setup.rb 3. From within the unzipped RMagic-win32 directory I ran: gem install rmagick-1.14.1-win32.gem --local I didn''t need to insert require ''RMagick'' in the environment.rb file. Yeeha!! Apparently, RMagick doesn''t work with RubyGems 0.9.5. Thanks again. Regards Walter On Nov 22, 12:09 pm, Walter Lockhart <walterlockh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''m running Instant Rails 1.4 on Windows XP with SP2. > > I have downloaded the Windows binary version of RMagick from the > RubyForge page. > > Specifically, I have downloaded: > > 1.14.1 binary gem for Ruby 1.8.5 (fixed for RubyGems 0.9.4) > RMagick-1.14.1_IM-6.3.0-7-Q8-2.zip > > I have removed any older versions of RMagick using: > > gem uninstall RMagick > > I have updated my version of rubygems. > > I executed the ImageMagick installer found in the zip file and > selected the "Update executable search path" from the installation > options. > > I then installed the gem: > > gem install rmagick --local > > and received the response: > > Successfully installed rmagick-1.14.1-unknown > 1 gem installed > > Unfortunately, when I type the following at a Rails Console prompt: > > >> require ''RMagick'' > > I receive the response: > > require ''RMagick''MissingSourceFile: no such file to load -- RMagick > > Similarly, when I attempt to use RMagick within my Rails application > (I use it to resize an uploaded image) I get the following message: > > Problems loading rmagickProcessor: no such file to load -- RMagick > > When I place the line: > > require ''RMagick'' > > in the application''s environment.rb the application fails with the > message: > > ExitingC:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:27:in `gem_original_require'': no such file to load > -- > > RMagick (MissingSourceFile) > > I have been searching the Internet for days now and I still can''t seem > to make progress. Can anyone out there please help me? > > Thanks in advance. > > Kind Regards > > Walter--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks for posting that. I was just struggling with the installation of the gem. I upgraded to gem 0.9.4 and installed RMagick ok. BTW there is some also some information here: http://rmagick.rubyforge.org/install-faq.html#win Tonypm --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
alex_cityfinger
2007-Dec-01 20:43 UTC
Re: Problem Installing RMagick with Instant Rails on Windows
thanks for the post. i downgraded rubygem from 0.9.5. to 0.9.4 on ruby 1.8.5 to gets things rolling again. for anybody struggling into mongrel or webrick "warning: already initialized constant OPTIONS" after that: complete your gem installations. there''s is one missing. ;) see: http://www.dansketcher.com/2007/05/07/warning-already-initialized-constant-options --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
jouy.lu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Dec-02 08:31 UTC
Re: Problem Installing RMagick with Instant Rails on Windows
I encountered the same problem. I do not know why this problem occurred. but at last i solved the problem. my note computer installed the same rmagick environment. it contains : all files in c:\ruby\lib\ruby\gems\1.8\gems \rmagick-1.14.1-win32\ and c:\ruby\lib\ruby\gems\1.8\specifications\rmagick-1.14.1- win32.gemspec file. copy them to my new installation environment,and delete the rmagick-1.14.1-unknown floder and rmagick-1.14.1-win32.gemspec file. it is stupid, but doable. have a try! On Nov 22, 8:09 pm, Walter Lockhart <walterlockh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''m running Instant Rails 1.4 on Windows XP with SP2. > > I have downloaded the Windows binary version of RMagick from the > RubyForge page. > > Specifically, I have downloaded: > > 1.14.1 binary gem for Ruby 1.8.5 (fixed for RubyGems 0.9.4) > RMagick-1.14.1_IM-6.3.0-7-Q8-2.zip > > I have removed any older versions of RMagick using: > > gem uninstall RMagick > > I have updated my version of rubygems. > > I executed the ImageMagick installer found in the zip file and > selected the "Update executable search path" from the installation > options. > > I then installed the gem: > > gem install rmagick --local > > and received the response: > > Successfully installed rmagick-1.14.1-unknown > 1 gem installed > > Unfortunately, when I type the following at a Rails Console prompt: > > >> require ''RMagick'' > > I receive the response: > > require ''RMagick''MissingSourceFile: no such file to load -- RMagick > > Similarly, when I attempt to use RMagick within my Rails application > (I use it to resize an uploaded image) I get the following message: > > Problems loading rmagickProcessor: no such file to load -- RMagick > > When I place the line: > > require ''RMagick'' > > in the application''s environment.rb the application fails with the > message: > > ExitingC:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:27:in `gem_original_require'': no such file to load > -- > > RMagick (MissingSourceFile) > > I have been searching the Internet for days now and I still can''t seem > to make progress. Can anyone out there please help me? > > Thanks in advance. > > Kind Regards > > Walter--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
mel ram
2008-Jan-05 03:26 UTC
Re: Problem Installing RMagick with Instant Rails on Windows
Try to restart your computer. Worked for me :) On Dec 2 2007, 12:31 am, "jouy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <jouy...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I encountered the same problem. > > I do not know why this problem occurred. > > but at last i solved the problem. > my note computer installed the samermagickenvironment. > it contains : all files in c:\ruby\lib\ruby\gems\1.8\gems > \rmagick-1.14.1-win32\ > and c:\ruby\lib\ruby\gems\1.8\specifications\rmagick-1.14.1- > win32.gemspec file. > > copy them to my new installation environment,and delete thermagick-1.14.1-unknown floder andrmagick-1.14.1-win32.gemspec file. > > it is stupid, but doable. > > have a try! > > On Nov 22, 8:09 pm, Walter Lockhart <walterlockh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I''m running Instant Rails 1.4 on Windows XP with SP2. > > > I have downloaded the Windows binary version ofRMagickfrom the > > RubyForge page. > > > Specifically, I have downloaded: > > > 1.14.1 binary gem for Ruby 1.8.5 (fixed for RubyGems 0.9.4) > >RMagick-1.14.1_IM-6.3.0-7-Q8-2.zip > > > I have removed any older versions ofRMagickusing: > > > gem uninstallRMagick > > > I have updated my version of rubygems. > > > I executed the ImageMagick installer found in the zip file and > > selected the "Update executable search path" from the installation > > options. > > > I then installed the gem: > > > gem installrmagick--local > > > and received the response: > > > Successfully installedrmagick-1.14.1-unknown > > 1 gem installed > > > Unfortunately, when I type the following at a Rails Console prompt: > > > >> require ''RMagick'' > > > I receive the response: > > > require ''RMagick''MissingSourceFile: no such file to load --RMagick > > > Similarly, when I attempt to useRMagickwithin my Rails application > > (I use it to resize an uploaded image) I get the following message: > > > Problems loading rmagickProcessor: no such file to load --RMagick > > > When I place the line: > > > require ''RMagick'' > > > in the application''s environment.rb the application fails with the > > message: > > > ExitingC:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/ > > custom_require.rb:27:in `gem_original_require'': no such file to load > > -- > > >RMagick(MissingSourceFile) > > > I have been searching the Internet for days now and I still can''t seem > > to make progress. Can anyone out there please help me? > > > Thanks in advance. > > > Kind Regards > > > Walter--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Webnet Ruby
2008-Jun-08 07:13 UTC
Re: Problem Installing RMagick with Instant Rails on Windows
Walter Lockhart wrote:> I woud like to thank Robin Mayfield for indirectly resolving my > similar issue with RMagick. > > RMagick is now installed and working. > > Here''s what I did: > > 1. Downloaded 0.9.4 RubyGems zip file. > > 2. Ran the setup.rb > > 3. From within the unzipped RMagic-win32 directory I ran: gem install > rmagick-1.14.1-win32.gem --local > > I didn''t need to insert require ''RMagick'' in the environment.rb file. > > Yeeha!! > > Apparently, RMagick doesn''t work with RubyGems 0.9.5. > > Thanks again. > > Regards > > WalterHi Walter, It seems to me RMagick doesn''t work with RubyGems 1.0.1 either. Does any one know? Can someone please confirm? I got "loading RmagickProcessor: no such file to load -- RMagick" message in the log. If I add: require ''rubygems'' require ''RMagick'' to the environment.rb, My server does not start up successful and the following message is in the server log: `gem_original_require'': no such file to load -- RMagick (MissingSourceFile) I used rmagick-2.3.0-mswin32 and ImageMagick-6.4.0-Q8. I''m looking forward for any thoughts/suggestions. Thank you. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
SnowmanInTheSun
2008-Jun-24 02:50 UTC
Re: Problem Installing RMagick with Instant Rails on Windows
I''m having the same problem with Gem 1.1.1 if I type into the IRB>> require ''rubygems''=> false (this is normal it means that rubygems was allready loaded)>> require ''rmagick''=> true But when i try to start my server using ''simple captcha'' plugin i get the error /Applications/Aptana Studio/plugins/org.jruby_1.1.0.5965_RC2p2/lib/ ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'': no such file to load -- RMagick (MissingSourceFile) I have RMagick installed, rails just can''t find it. I also have a similar problem with ruby-openid. can someone please 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---