What is the difference between require_relative and require in Ruby?
require_relative
require
I just saw the RSpec's code has some comment on require_relative being O(1) constant and require being O(N) linear. So probably the difference is that require_relative is the preferred one than require.