diff --git a/chef/lib/chef/application.rb b/chef/lib/chef/application.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/application.rb
+++ b/chef/lib/chef/application.rb
@@ -15,6 +15,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+require 'socket'
 require 'chef/config'
 require 'chef/exceptions'
 require 'chef/log'
Chef::Application references constants from socket

fixes undefined constant error when config file is missing