# NArray, How to install

**URL:** <https://www.ruby-forum.com/t/narray-how-to-install/178983>\
**Category:** Ruby\
**Created:** [November 14, 2009, 6:38pm UTC](https://www.ruby-forum.com/t/narray-how-to-install/178983 "2009-11-14T18:38:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ralphshnelvar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e19adc/32.png) [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Post date:** [November 14, 2009, 6:38pm UTC](https://www.ruby-forum.com/t/narray-how-to-install/178983/1 "2009-11-14T18:38:45Z")

</div>

I’m trying to install NArray so that irb can get access to its  
methods.

Is there a blow by blow description on how to do this in a Windows  
environment?

---

<div class="post-metadata">

**Author:** ![ralphshnelvar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e19adc/32.png) [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Post date:** [November 14, 2009, 8:21pm UTC](https://www.ruby-forum.com/t/narray-how-to-install/178983/2 "2009-11-14T20:21:02Z")

</div>

Ralph S. wrote:

> I’m trying to install NArray so that irb can get access to its  
> methods.
> 
> Is there a blow by blow description on how to do this in a Windows  
> environment?

Did you do  
require ‘narray’  
in irb?

## Best,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![ralphshnelvar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e19adc/32.png) [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Post date:** [November 14, 2009, 10:55pm UTC](https://www.ruby-forum.com/t/narray-how-to-install/178983/3 "2009-11-14T22:55:04Z")

</div>

Marnen,

MLK\> Ralph S. wrote:

> > I’m trying to install NArray so that irb can get access to its  
> > methods.
> > 
> > Is there a blow by blow description on how to do this in a Windows  
> > environment?

MLK\> Did you do  
MLK\> require ‘narray’  
MLK\> in irb?

I unzipped the narray tar to  
f:\Ralph-Rails-Apps\narray-0.5.9p7\

# - - - - - -

F:\INSTAN~1.0-W\>CD F:\InstantRails-2.0-win

F:\InstantRails-2.0-win\>PATH  
F:\InstantRails-2.0-win\ruby\bin;F:\InstantRails-2.  
0-win\mysql\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Progr  
am Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files  
(x86)\Commo  
n Files\Ulead Systems\MPEG;C:\Program Files\Microsoft Windows  
Performance Toolki  
t;C:\Program Files (x86)\QuickTime\QTSystem;C:\Program Files  
(x86)\e\cmd;F:\IN  
STAN~1.0-W\ruby\bin;F:\INSTAN~1.0-W\Apache;F:\INSTAN~1.0-W\PHP

F:\InstantRails-2.0-win\>cd rails\_apps

F:\InstantRails-2.0-win\rails\_apps\>dir  
Volume in drive F is 195 GB  
Volume Serial Number is EEEA-7F9A

Directory of F:\InstantRails-2.0-win\rails\_apps

11/14/2009 02:45 PM .  
11/14/2009 02:45 PM …  
10/23/2009 10:02 PM .metadata  
11/14/2009 02:45 PM 0 cd  
10/23/2009 10:02 PM cookbook  
11/14/2009 02:45 PM 0 exit  
11/14/2009 02:45 PM 0 irb  
11/14/2009 03:22 AM 5,110 Makefile  
11/14/2009 03:22 AM 3,462 mkmf.log  
11/14/2009 03:22 AM 0 narray\_config.h  
11/14/2009 02:45 PM 0 require  
10/23/2009 10:02 PM typo-2.6.0  
7 File(s) 8,572 bytes  
5 Dir(s) 207,972,462,592 bytes free

F:\InstantRails-2.0-win\rails\_apps\>cd f:\Ralph-Rails-Apps\depot\

f:\Ralph-Rails-Apps\depot\>irb  
irb(main):001:0\> require ‘narray’  
LoadError: no such file to load – narray  
from (irb):1:in `require’  
from (irb):1

irb(main):005:0\> require ‘f:\Ralph-Rails-Apps\narray-0.5.9p7\’  
LoadError: no such file to load – f:\Ralph-Rails-Apps\narray-0.5.9p7  
from (irb):5:in `require’  
from (irb):5  
from :0

irb(main):006:0\> require ‘f:\Ralph-Rails-Apps\narray-0.5.9p7\narray’  
LoadError: no such file to load –  
f:\Ralph-Rails-Apps\narray-0.5.9p7\narray  
from (irb):6:in `require’  
from (irb):6  
from :0

# - - - - -

Suggestions, please.

---

<div class="post-metadata">

**Author:** ![ralphshnelvar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e19adc/32.png) [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Post date:** [November 14, 2009, 11:50pm UTC](https://www.ruby-forum.com/t/narray-how-to-install/178983/4 "2009-11-14T23:50:39Z")

</div>

Marnen Laibow-Koser wrote:

> Is there a gem available (the website should say)? If so, install it  
> that way.

Yep, there is.

$ gem list | grep array  
narray (0.5.9.7)

---

<div class="post-metadata">

**Author:** ![ralphshnelvar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e19adc/32.png) [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Post date:** [November 14, 2009, 11:05pm UTC](https://www.ruby-forum.com/t/narray-how-to-install/178983/5 "2009-11-14T23:05:49Z")

</div>

Ralph S. wrote:

> Marnen,
> 
> MLK\> Ralph S. wrote:
> 
> > > I’m trying to install NArray so that irb can get access to its  
> > > methods.
> > > 
> > > Is there a blow by blow description on how to do this in a Windows  
> > > environment?
> 
> MLK\> Did you do  
> MLK\> require ‘narray’  
> MLK\> in irb?
> 
> I unzipped the narray tar to  
> f:\Ralph-Rails-Apps\narray-0.5.9p7\

Is there a gem available (the website should say)? If so, install it  
that way.

> # - - - - - -
> 
> F:\INSTAN~1.0-W\>CD F:\InstantRails-2.0-win
> 
> F:\InstantRails-2.0-win\>PATH  
> F:\InstantRails-2.0-win\ruby\bin;F:\InstantRails-2.  
> 0-win\mysql\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Progr  
> am Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files  
> (x86)\Commo  
> n Files\Ulead Systems\MPEG;C:\Program Files\Microsoft Windows  
> Performance Toolki  
> t;C:\Program Files (x86)\QuickTime\QTSystem;C:\Program Files  
> (x86)\e\cmd;F:\IN  
> STAN~1.0-W\ruby\bin;F:\INSTAN~1.0-W\Apache;F:\INSTAN~1.0-W\PHP
> 
> F:\InstantRails-2.0-win\>cd rails\_apps
> 
> F:\InstantRails-2.0-win\rails\_apps\>dir  
> Volume in drive F is 195 GB  
> Volume Serial Number is EEEA-7F9A
> 
> Directory of F:\InstantRails-2.0-win\rails\_apps
> 
> 11/14/2009 02:45 PM .  
> 11/14/2009 02:45 PM …  
> 10/23/2009 10:02 PM .metadata  
> 11/14/2009 02:45 PM 0 cd  
> 10/23/2009 10:02 PM cookbook  
> 11/14/2009 02:45 PM 0 exit  
> 11/14/2009 02:45 PM 0 irb  
> 11/14/2009 03:22 AM 5,110 Makefile  
> 11/14/2009 03:22 AM 3,462 mkmf.log  
> 11/14/2009 03:22 AM 0 narray\_config.h  
> 11/14/2009 02:45 PM 0 require  
> 10/23/2009 10:02 PM typo-2.6.0  
> 7 File(s) 8,572 bytes  
> 5 Dir(s) 207,972,462,592 bytes free

That looks like C files that need to be compiled. If no gem is  
available, I guess you’ll have to build the library from source.

> 

[…]

> Suggestions, please.

Learn about gems and make.

## Best,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid
