Closed lzap closed 11 years ago
Oh apologize for the name and body of the PR - rewritting.
see article: http://stackoverflow.com/questions/735073/best-way-to-require-all-files-from-a-directory-in-ruby
I remember running into loading errors when I made this. However, I never tested with rbenv or rvm. I test this out today and merge your request if everything goes smoothly.
Ok thanks. If you run into issues, can you please just throw away .rb$ suffix using a regexp so we are sure it does not split any directory containing string "rb"? Would be great!
Hello,
when using rbenv (or when do you "rb" string within your path) the rubygem refused to load for obvious reasons:
I don't understand why do you split the string as Ruby 1.8-2.0 loads files with extensions fine. Thus sending the fix.
Take care!