method

rm

rm(list, force: nil, noop: nil, verbose: nil)
public

Remove file(s) specified in list. This method cannot remove directories. All StandardErrors are ignored when the :force option is set.

Bundler::FileUtils.rm %w( junk.txt dust.txt )
Bundler::FileUtils.rm Dir.glob('*.so')
Bundler::FileUtils.rm 'NotExistFile', :force => true   # never raises exception