# Need help

**URL:** <https://www.ruby-forum.com/t/need-help/103970>\
**Category:** Ruby\
**Created:** [May 12, 2007, 4:05am UTC](https://www.ruby-forum.com/t/need-help/103970 "2007-05-12T04:05:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e19adc/32.png) [@aaron](https://www.ruby-forum.com/u/aaron)\
**Post date:** [May 12, 2007, 4:05am UTC](https://www.ruby-forum.com/t/need-help/103970/1 "2007-05-12T04:05:52Z")

</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:** ![aaron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e19adc/32.png) [@aaron](https://www.ruby-forum.com/u/aaron)\
**Post date:** [May 12, 2007, 5:19am UTC](https://www.ruby-forum.com/t/need-help/103970/2 "2007-05-12T05:19:56Z")

</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

---

<div class="post-metadata">

**Author:** ![aaron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e19adc/32.png) [@aaron](https://www.ruby-forum.com/u/aaron)\
**Post date:** [May 12, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/need-help/103970/3 "2007-05-12T16:30:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![aaron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e19adc/32.png) [@aaron](https://www.ruby-forum.com/u/aaron)\
**Post date:** [May 13, 2007, 10:52pm UTC](https://www.ruby-forum.com/t/need-help/103970/4 "2007-05-13T22:52:27Z")

</div>

On May 11, 11:19 pm, Dan Z. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> $ ruby -I /my/include/dir/ruby/gems/1.8/gems test.rb
> 
> > 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 -

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