check rails version too
Merge branch 'avsej/master'
[ARCH] Added .gitignore
[ARCH] Fixed bugs with Rails 3 loading

- Use ActiveSupport.on_load hooks so run_later plays nice with everyone else.