Don't load octopus/railtie if Rails is not available

When Rails is not available, loading railtie will result in loading
Rails, which is not expected when using only AR.
Merge pull request #187 from travis-ci/master

Don't load octopus/railtie if Rails is not available