ruby-mp3info

S

Sergio Ruiz

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!
 
J

Justin Collins

Sergio said:
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
 
S

Sergio Ruiz

Use require 'rubygems' first.

-Justin

got it! thanks!

i tried that, mixed with other stuff i found via google.. with no luck..

the winning combo is:

require "rubygems"
require "mp3info"

thanks again..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top