Check the railties dependencies instead of rails dependencies

To know if the project use rails. Test the railties gem instead of rails gem.

I use a rails project without rails dependencies to avoid the Activerecord gem dependencies. My project is a full rails application. but jasmine don't think it is. It's better to check the railties gem to know if the project is a rails project or not.