Check for existance of Railties (instead of Rails) before loading railtie)

This commit is contained in:
Steven Bazyl 2013-03-18 12:22:12 -07:00
parent 34354325b8
commit 0b45f0d8b6
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ require 'google/api_client/media'
require 'google/api_client/service_account'
require 'google/api_client/batch'
require 'google/api_client/push'
require 'google/api_client/railtie' if defined?(Rails)
require 'google/api_client/railtie' if defined?(Rails::Railtie)
module Google