Dear All, Thanks in advance ! i have ubuntu 7.04 64 bit installed... i want to install RMagick 2.5 and i have done that installation but it is working ? here are some outputs ------------------------------------------------------------------------------- root@bpocanada-desktop:/home/bpocanada/Desktop/ImageMagick-6.4.1# gem install rmagick Bulk updating Gem source index for: http://gems.rubyforge.org/ Building native extensions. This could take a while... Successfully installed rmagick-2.5.1 1 gem installed ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- root@bpocanada-desktop:/home/bpocanada/test2# irb irb(main):001:0> require ''RMagick'' LoadError: no such file to load -- RMagick from (irb):1:in `require'' from (irb):1 irb(main):002:0> exit Here anything missing like PATH of some directories ? and when i do irb -rubygems -r RMagick instead of irb ? like following ! -------------------------------------------------------------------------------- root@bpocanada-desktop:/home/bpocanada/test2# irb -rubygems -r RMagick irb(main):001:0> require ''RMagick'' => false irb(main):002:0> Here it should be True ? or False ? -------------------------------------------------------------------------------- root@bpocanada-desktop:/home/bpocanada/test2# gem list *** LOCAL GEMS *** actionmailer (2.1.0) actionpack (2.1.0) activerecord (2.1.0) activeresource (2.1.0) activesupport (2.1.0) rails (2.1.0) rake (0.8.1) rmagick (2.5.1) root@bpocanada-desktop:/home/bpocanada/test2# -------------------------------------------------------------------------------- when i check dependency for rmagick ? -------------------------------------------------------------------------------- root@bpocanada-desktop:/home/bpocanada/test2# gem dependency rmagick Gem rmagick-2.5.1 ------------------------------------------------------------------------------- So what anything else u need ? -- 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 -~----------~----~----~----~------~----~------~--~---
On Jun 24, 8:57 am, Ishan Patel <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Dear All, > > Thanks in advance ! > > i have ubuntu 7.04 64 bit installed... i want to install RMagick 2.5 and > i have done that installation but it is working ? >Have you tried actually using it?> > --------------------------------------------------------------------------- ---- > root@bpocanada-desktop:/home/bpocanada/test2# irb > irb(main):001:0> require ''RMagick'' > LoadError: no such file to load -- RMagick > from (irb):1:in `require'' > from (irb):1 > irb(main):002:0> exit >it''s a gem, so if you don''t load rubygems then you can''t require it> Here anything missing like PATH of some directories ? > > and when i do irb -rubygems -r RMagick instead of irb ? like following ! > > --------------------------------------------------------------------------- ----- > root@bpocanada-desktop:/home/bpocanada/test2# irb -rubygems -r RMagick > irb(main):001:0> require ''RMagick'' > => false > irb(main):002:0> > > Here it should be True ? or False ? >if the require doesn''t through an exception it means that the library has been loaded (or in this case was already loaded) Fred --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung wrote:>Have you tried actually using it?Hey i am a Linux admin and i have been given task to solve the RoR developers issus and it is their issu! They told me that the out put of the following root@bpocanada-desktop:/home/bpocanada/test2# irb -rubygems -r RMagick irb(main):001:0> require ''RMagick'' => false irb(main):002:0> should be True fot them to use it ! and i have to solve this as it is false right now ! so ............. ---------------------------------------------------------------- -- 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 -~----------~----~----~----~------~----~------~--~---
On Jun 24, 10:28 am, Ishan Patel <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Frederick Cheung wrote: > >Have you tried actually using it? > > Hey i am a Linux admin and i have been given task to solve the RoR > developers issus and it is their issu! They told me that the out put of > the following > > root@bpocanada-desktop:/home/bpocanada/test2# irb -rubygems -r RMagick > irb(main):001:0> require ''RMagick'' > => false > irb(main):002:0> > > should be True fot them to use it ! and i have to solve this as it is > false right now !They''re wrong. You''re requiring it twice (once with the -r flag, once explicitly), so it''s perfectly normal for the second require to return false because require won''t load the same path twice. Fred> > so ............. > > ---------------------------------------------------------------- > > -- > Posted viahttp://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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung wrote:> On Jun 24, 10:28�am, Ishan Patel <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > wrote: >> irb(main):002:0> >> >> should be True fot them to use it ! and i have to solve this as it is >> false right now ! > > They''re wrong. You''re requiring it twice (once with the -r flag, once > explicitly), so it''s perfectly normal for the second require to return > false because require won''t load the same path twice. > > FredOK i understand what u want to say but ... if i do following command then ( irb with out any -r option to load RMagick) and then if i do require ''RMagick'' then it will give me like following !!! why ? root@bpocanada-desktop:/home/bpocanada/test2# irb irb(main):001:0> require ''RMagick'' LoadError: no such file to load -- RMagick from (irb):1:in `require'' from (irb):1 irb(main):002:0> exit -- 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 24 Jun 2008, at 10:45, Ishan Patel wrote:> > Frederick Cheung wrote: >> On Jun 24, 10:28�am, Ishan Patel <rails-mailing-l...-ARtvInVfO7m5VldFQK4jKA@public.gmane.orgt> >> wrote: >>> irb(main):002:0> >>> >>> should be True fot them to use it ! and i have to solve this as it >>> is >>> false right now ! >> >> They''re wrong. You''re requiring it twice (once with the -r flag, once >> explicitly), so it''s perfectly normal for the second require to >> return >> false because require won''t load the same path twice. >> >> Fred > > OK i understand what u want to say but ... > if i do following command then ( irb with out any -r option to load > RMagick) and then if i do require ''RMagick'' then it will give me like > following !!! why ?because you need to require rubygems first. Fred> > > root@bpocanada-desktop:/home/bpocanada/test2# irb > irb(main):001:0> require ''RMagick'' > LoadError: no such file to load -- RMagick > from (irb):1:in `require'' > from (irb):1 > irb(main):002:0> exit > > > > -- > 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung wrote:> On 24 Jun 2008, at 10:45, Ishan Patel wrote: > >>> They''re wrong. You''re requiring it twice (once with the -r flag, once >>> explicitly), so it''s perfectly normal for the second require to >>> return >>> false because require won''t load the same path twice. >>> >>> Fred >> >> OK i understand what u want to say but ... >> if i do following command then ( irb with out any -r option to load >> RMagick) and then if i do require ''RMagick'' then it will give me like >> following !!! why ? > because you need to require rubygems first. > > FredOKKKKKKKKK I got that...... yessssssssssssssssss.. T H A N K S Fred ! -- 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 -~----------~----~----~----~------~----~------~--~---