method

remove_file

remove_file(path, config = {})
public

Removes a file at the given location.

Parameters

path

path of the file to be changed

config

give :verbose => false to not log the status.

Example

remove_file 'README'
remove_file 'app/controllers/application_controller.rb'