# RMagick installation on 64bit ubuntu 7.04

**URL:** <https://www.ruby-forum.com/t/rmagick-installation-on-64bit-ubuntu-7-04/141282>\
**Category:** Rails\
**Created:** [June 24, 2008, 9:57am UTC](https://www.ruby-forum.com/t/rmagick-installation-on-64bit-ubuntu-7-04/141282 "2008-06-24T09:57:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ishan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3da27b/32.png) [@ishan](https://www.ruby-forum.com/u/ishan)\
**Post date:** [June 24, 2008, 9:57am UTC](https://www.ruby-forum.com/t/rmagick-installation-on-64bit-ubuntu-7-04/141282/1 "2008-06-24T09:57:44Z")

</div>

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/](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 ?

---

<div class="post-metadata">

**Author:** ![ishan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3da27b/32.png) [@ishan](https://www.ruby-forum.com/u/ishan)\
**Post date:** [June 24, 2008, 11:21am UTC](https://www.ruby-forum.com/t/rmagick-installation-on-64bit-ubuntu-7-04/141282/2 "2008-06-24T11:21:32Z")

</div>

On Jun 24, 8:57 am, Ishan P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
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 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

---

<div class="post-metadata">

**Author:** ![ishan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3da27b/32.png) [@ishan](https://www.ruby-forum.com/u/ishan)\
**Post date:** [June 24, 2008, 11:28am UTC](https://www.ruby-forum.com/t/rmagick-installation-on-64bit-ubuntu-7-04/141282/3 "2008-06-24T11:28:31Z")

</div>

Frederick C. 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 …

* * *

---

<div class="post-metadata">

**Author:** ![ishan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3da27b/32.png) [@ishan](https://www.ruby-forum.com/u/ishan)\
**Post date:** [June 24, 2008, 11:36am UTC](https://www.ruby-forum.com/t/rmagick-installation-on-64bit-ubuntu-7-04/141282/4 "2008-06-24T11:36:47Z")

</div>

On Jun 24, 10:28 am, Ishan P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
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

---

<div class="post-metadata">

**Author:** ![ishan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3da27b/32.png) [@ishan](https://www.ruby-forum.com/u/ishan)\
**Post date:** [June 24, 2008, 11:45am UTC](https://www.ruby-forum.com/t/rmagick-installation-on-64bit-ubuntu-7-04/141282/5 "2008-06-24T11:45:53Z")

</div>

Frederick C. wrote:

> On Jun 24, 10:28ï¿½am, Ishan P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> 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 ?

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

---

<div class="post-metadata">

**Author:** ![ishan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3da27b/32.png) [@ishan](https://www.ruby-forum.com/u/ishan)\
**Post date:** [June 24, 2008, 12:28pm UTC](https://www.ruby-forum.com/t/rmagick-installation-on-64bit-ubuntu-7-04/141282/6 "2008-06-24T12:28:40Z")

</div>

On 24 Jun 2008, at 10:45, Ishan P. 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.

Fred

---

<div class="post-metadata">

**Author:** ![ishan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3da27b/32.png) [@ishan](https://www.ruby-forum.com/u/ishan)\
**Post date:** [June 24, 2008, 12:37pm UTC](https://www.ruby-forum.com/t/rmagick-installation-on-64bit-ubuntu-7-04/141282/7 "2008-06-24T12:37:16Z")

</div>

Frederick C. wrote:

> On 24 Jun 2008, at 10:45, Ishan P. 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.
> 
> Fred

OKKKKKKKKK

I got that…

yessssssssssssssssss…

T H A N K S Fred !
