Fix for projects that do not have Rails::Railtie
Merge pull request #5 from thehappycoder/rails2

Fix for projects that do not have Rails::Railtie
Merge remote-tracking branch 'origin/rails2'