From: "dtown22@..." Date: 2007-10-30T01:25:06+09:00 Subject: Re: cant seem to get system() & pipe to work together Hi Mac, I wasnt aware of a wma to mp3 converter in ruby...i don't have time today, but tomorrow I will give this a try and let you know how it goes. On Oct 26, 6:46 pm, Michael Linfield wrote: > Alright lets start this program over and build up from the basics using > a gem. > > require 'rubygems' > require 'r2mp3' > > print "File Path: " > path = gets.chomp > > Converter.new(:convert=>:wma,:file=>"#{path}"){|f| f.to_mp3 } > > ########## > > Keep in mind you will have to install the r2mp3 gem via command line - > gem install r2mp3 > > This SHOULD work, i dont have any resources in front of me right now so > i cant double check, but let me know if you need any additions to the > code above. > > - Mac > -- > Posted viahttp://www.ruby-forum.com/.