How to add a gem to autoload_path?

I'd like to give it a try on adding CoffeeScript syntax support to CodeRay, but I can't find any documentation on how to add my local version of CodeRay lib directory to autoload_paths.

Simply adding the full path to config.autoload_paths won't do the trick. How could I get my new scanner to be reloaded on each request? (yep, I'm not doing TDD here).

Thanks in advance,

This sounds more like a question for rails-talk, but I think this is
sorta what you want:

Sorry, I thought this would be the place for undocumented features like this as it is very unlikely other usual Rails developers would know the answer but I'll try there first next time.

And thank you by the way. I'll give it a try soon!