Check for existance of Railties (instead of Rails) before loading railtie)
This commit is contained in:
parent
34354325b8
commit
0b45f0d8b6
|
@ -31,7 +31,7 @@ require 'google/api_client/media'
|
||||||
require 'google/api_client/service_account'
|
require 'google/api_client/service_account'
|
||||||
require 'google/api_client/batch'
|
require 'google/api_client/batch'
|
||||||
require 'google/api_client/push'
|
require 'google/api_client/push'
|
||||||
require 'google/api_client/railtie' if defined?(Rails)
|
require 'google/api_client/railtie' if defined?(Rails::Railtie)
|
||||||
|
|
||||||
module Google
|
module Google
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue