summaryrefslogtreecommitdiff
path: root/lib/chef/server_api_versions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/server_api_versions.rb')
-rw-r--r--lib/chef/server_api_versions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/server_api_versions.rb b/lib/chef/server_api_versions.rb
index 40fb6385e1..755bd9be30 100644
--- a/lib/chef/server_api_versions.rb
+++ b/lib/chef/server_api_versions.rb
@@ -15,7 +15,7 @@
# limitations under the License.
#
-require "singleton"
+require "singleton" unless defined?(Singleton)
class Chef
class ServerAPIVersions