Last Updated: February 25, 2016
·
728
· fsproru

Require all files inside a directory recursively

1) In your Gemfile

gem 'require_all'

or from the console

$ gem install require_all

2) In your code

require 'requre_all'
require_all 'lib'

3) More info
https://github.com/jarmo/require_all