This library is called move_file. It is an experimental wrapper class over move functionality. Very beta! It supports these tasks: (1) Move a file to another position in the filesystem (default) (2) Rename a file [in the same directory] (3) Rename a directory [in the same directory] (4) Combine (1) with (2) or (3) - this is a conjoint action
Gemfile gem 'move_file', '~> 0.0.5'
install gem install move_file