tech-angels/annotator — pull request #3 by lucasefe (2012-06-06 14:12:24+00:00)
Title: Support for non-rails apps. 

Hey, great work. I just added some coded to make it work without Rails.

In order to make it work in my case, I just added this lines to my rakefile.

task :annotate do
require 'annotator'
Annotator.run(File.join(Dir.pwd, "lib", "models"))
end

I'm using Sinatra, but this could work with anything.

With this change, you could also avoid requiring rails on the gemspec, just saying :-)

Thanks