From: Jordi Bunster Date: 2005-01-21T03:02:23+09:00 Subject: Re: Bad interpreter On Jan 19, 2005, at 2:44 AM, CT wrote: >> If I try to run instiki by typing 'ruby instiki' it works just fine. >> But if I ever try running it as ./instiki I get: >> >> : bad interpreter: No such file or directory > > I have the same problem with my ubuntu installation at home, googling > leads me to info about trailing ^M characters at the end of the > "shebang" line(the "#!/usr/bin/ruby" line at the top of the script). > Haven't checked this, though. Try removing any such control characters > at the end of the shebang line and see if it works. Thanks everyone. I had not touched on the problem until right now, thus the silence. But you were all right. tr -d '\15\32' on the 'instiki' file and it all worked great. Once again, thanks a bunch. -- Jordi