I am running a rails app locally through NetBeans which seems to be running ruby through mingw32. I'm trying to do a system call to lame, which works fine using just irb, but this particular setup can't find it!
What can I do to tell mingw/this instance of rails where lame is?
Not really a solution to what I asked, but by using
system "c:/lame/lame.exe input.wav output.mp3"
I was able to get what I wanted
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.