Hi,
if I wanna check if a file exists like fglrx.i386.8.40.3.ko why is File.exists? not able to handle regexp to check this like:

system('rm fglrx*') if File.exists?(/^fglrx.+/)

--> ./test.rb:4:in `exists?': can't convert Regexp into String (TypeError)
  

-- 
kazaam <kazaam / oleco.net>