I have: Windows XP Professional SP3 Ruby 1.8.7 Rails 3.0.10 Bundler 1.0.15 ImageMagick 6.5.6 Q8 Rmagick 2.12.9 My gemfile: gem ''rmagick-2.12.0-x86-mswin32'', ''2.12.0'', :path => ''c:/sites/ uplodify/vendor'' My controller: require ''RMagick'' Here I have installed my rmagick gem: c:/ruby/ruby187/lib/ruby/gems/1.8/gems/rmagick-2.12.0-x86-mswin32/ But when I launch the controller, there is a message: no such file to load -- RMagick Then, I change require ''RMagick'' to require ''c:/ruby/ruby187/lib/ruby/ gems/1.8/gems/rmagick-2.12.0-x86-mswin32/lib/RMagick.rb'', and it''s working!!! Question: why require ''RMagick'' is not working, but require ''c:/ruby/ruby187/lib/ ruby/gems/1.8/gems/rmagick-2.12.0-x86-mswin32/lib/RMagick.rb'' is working???? Thanks a lot! -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Aug 31, 1:42 pm, Alexie Drobyazko <droba...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I have: > > Windows XP Professional SP3 > Ruby 1.8.7 > Rails 3.0.10 > Bundler 1.0.15 > ImageMagick 6.5.6 Q8 > Rmagick 2.12.9 > > My gemfile: > > gem ''rmagick-2.12.0-x86-mswin32'', ''2.12.0'', :path => ''c:/sites/ > uplodify/vendor''Well you''re telling bundler that your rmagick gem is in ''c:/sites/ uplodify/vendor'' but from what you''ve written below it seems like it''s in the normal location. Have you tried removing the path option ? Fred> > My controller: > > require ''RMagick'' > > Here I have installed my rmagick gem: > > c:/ruby/ruby187/lib/ruby/gems/1.8/gems/rmagick-2.12.0-x86-mswin32/ > > But when I launch the controller, there is a message: > > no such file to load -- RMagick > > Then, I change require ''RMagick'' to require ''c:/ruby/ruby187/lib/ruby/ > gems/1.8/gems/rmagick-2.12.0-x86-mswin32/lib/RMagick.rb'', and it''s > working!!! > > Question: > > why require ''RMagick'' is not working, but require ''c:/ruby/ruby187/lib/ > ruby/gems/1.8/gems/rmagick-2.12.0-x86-mswin32/lib/RMagick.rb'' is > working???? > > Thanks a lot!-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 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.
In your opinion, what does :path do in this line: gem ''rmagick-2.12.0-x86-mswin32'', ''2.12.0'', :path => ''c:/sites/ -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Apparently Analagous Threads
- Dicom integration
- Puppet on windows: File resource problem
- Windows Puppet 2.7.12rc1-7-g281901e hands at end of run
- uninitialized constant ActionView::Helpers::TagHelper::ERB (NameError)
- Having trouble testing :( "superclass mismatch" and can't load "test_helper"