# Need help

**URL:** <https://rubytalk.org/t/need-help/37542>\
**Category:** ruby-talk\
**Created:** [12 May 2007 02:05 UTC](https://rubytalk.org/t/need-help/37542 "2007-05-12T02:05:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aaron](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@Aaron](https://rubytalk.org/u/Aaron)\
**Post date:** [12 May 2007 02:05 UTC](https://rubytalk.org/t/need-help/37542/1 "2007-05-12T02:05:04Z")

</div>

I got this error in Ubuntu when i wanted to use parseexcel .  
Here is the code :  
require 'parseexcel'

workbook = Spreadsheet::ParseExcel.parse("12.xls")  
worksheet = workbook.worksheet(0)  
......

The full error message:"test.rb:1:in `require': no such file to load  
-- parseexcel (LoadError) from test.rb:1 "

Really wanna your help, thanks!

---

<div class="post-metadata">

**Author:** ![Dan\_Zwell](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@Dan\_Zwell](https://rubytalk.org/u/Dan_Zwell)\
**Post date:** [12 May 2007 03:19 UTC](https://rubytalk.org/t/need-help/37542/2 "2007-05-12T03:19:21Z")

</div>

Aaron,

In the future you'll have better luck if you title your posts descriptively.

Ruby is looking for the 'parseexcel' include file and can't find it. Do "locate parseexcel.rb" to see whether it is installed at all. If not, do "gem install parseexcel" to install the gem. If you do locate the file, it means it's in the wrong directory and you need to tell ruby where to look for libraries:

$ ruby -I /my/include/dir/ruby/gems/1.8/gems test.rb

Good luck,  
Dan

Aaron wrote:

> **···**
>
> > I got this error in Ubuntu when i wanted to use parseexcel .  
> > Here is the code :  
> > require 'parseexcel'
> > 
> > workbook = Spreadsheet::ParseExcel.parse("12.xls")  
> > worksheet = workbook.worksheet(0)  
> > ......
> > 
> > The full error message:"test.rb:1:in `require': no such file to load  
> > -- parseexcel (LoadError) from test.rb:1 "
> > 
> > Really wanna your help, thanks!

---

<div class="post-metadata">

**Author:** ![Armando\_Padilla](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@Armando\_Padilla](https://rubytalk.org/u/Armando_Padilla)\
**Post date:** [12 May 2007 14:30 UTC](https://rubytalk.org/t/need-help/37542/3 "2007-05-12T14:30:10Z")

</div>

Aaron havent tried replicating this issue but are you sure you have  
the library parseexcel installed?

Aaron wrote:

> **···**
>
> > I got this error in Ubuntu when i wanted to use parseexcel .  
> > Here is the code :  
> > require 'parseexcel'
> > 
> > workbook = Spreadsheet::ParseExcel.parse("12.xls")  
> > worksheet = workbook.worksheet(0)  
> > ......
> > 
> > The full error message:"test.rb:1:in `require': no such file to load  
> > -- parseexcel (LoadError) from test.rb:1 "
> > 
> > Really wanna your help, thanks!

---

<div class="post-metadata">

**Author:** ![Bernard\_Kenik](https://avatars.discourse-cdn.com/v4/letter/b/ed8c4c/32.png) [@Bernard\_Kenik](https://rubytalk.org/u/Bernard_Kenik)\
**Post date:** [13 May 2007 20:51 UTC](https://rubytalk.org/t/need-help/37542/4 "2007-05-13T20:51:13Z")

</div>

did you install parseexcel manually using the tarball or via  
automatically via gem install parseexcel?

> **···**
>
> On May 11, 11:19 pm, Dan Zwell \<dzw...@gmail.com\> wrote:
> 
> > Aaron,
> > 
> > In the future you'll have better luck if you title your posts descriptively.
> > 
> > Ruby is looking for the 'parseexcel' include file and can't find it. Do  
> > "locate parseexcel.rb" to see whether it is installed at all. If not, do  
> > "gem install parseexcel" to install the gem. If you do locate the file,  
> > it means it's in the wrong directory and you need to tell ruby where to  
> > look for libraries:
> > 
> > $ ruby -I /my/include/dir/ruby/gems/1.8/gems test.rb
> > 
> > Good luck,  
> > Dan
> > 
> > Aaron wrote:  
> > \> I got this error in Ubuntu when i wanted to use parseexcel .  
> > \> Here is the code :  
> > \> require 'parseexcel'
> > 
> > \> workbook = Spreadsheet::ParseExcel.parse("12.xls")  
> > \> worksheet = workbook.worksheet(0)  
> > \> ......
> > 
> > \> The full error message:"test.rb:1:in `require': no such file to load  
> > \> -- parseexcel (LoadError) from test.rb:1 "
> > 
> > \> Really wanna your help, thanks!- Hide quoted text -
> > 
> > - Show quoted text -
