From: "Peña, Botp" Date: 2007-11-22T11:55:29+09:00 Subject: Re: Read last line of a file From: Shuaib Zahda [mailto:shuaib.zahda@gmail.com] # Thanks it works. But when i used require "elif". My ruby did not # recognize its path. So i copied it into my local directory and ran it # fine. Is there any path issue that i have to tackle when i # download new package from gem. I am using ubuntu 7.10 try, require 'rubygems' gems require rubygems to find themselves :) require is change thereupon.. :~$ irb ~> alias old_require require => nil ~> require 'units' LoadError: no such file to load -- units ~> old_require 'units' LoadError: no such file to load -- units ~> require 'rubygems' => true ~> old_require 'units' LoadError: no such file to load -- units ~> require 'units' => true short story: only rubygems knows where the gems are :) ~> puts `lsb_release -a` No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 6.06.1 LTS Release: 6.06 Codename: dapper => nil kind regards -botp