Let\'s say I have I have the following file in my lib directory of my rails application:
#lib/proxy.rb module SomeService class ServiceProxy def do_somethi
Rails will auto add /lib /vendor /app this dir into autoload path. When you need some constants in it, you need to require the specific file. And you don't need to require it the second time, because it would be useless.
/lib /vendor /app