From: Chat Wong Date: 2006-07-27T05:28:23+09:00 Subject: Re: ruby-mp3info ------=_Part_140596_8958134.1153945699469 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline It didn't find the package. It worked after I add the path of mp3info to $:, ie, $:.push("c:/ruby/lib/ruby/gems/1.8/gems/ruby-mp3info-0.5/lib") require "mp3info" Nam On 7/26/06, Justin Collins wrote: > > Sergio Ruiz wrote: > > i have checked around on the net, but have not found anything.. i also > > can't get the search to work on this site either, so i decided to try > > here.. > > > > i am trying to get this package to work.. installed the gem.. > > > > then did this.. > > > > require "mp3info" > > > > Mp3Info.open("myfile.mp3") > > > > > > and all i get is this: > > > > mp3.rb:4: uninitialized constant Mp3Info (NameError) > > > > i am sure i am doing something really stupid.. but i am stumped.. > > > > any ideas? > > > > thanks > > Use require 'rubygems' first. > > -Justin > > ------=_Part_140596_8958134.1153945699469--