summaryrefslogtreecommitdiff
path: root/chef/bin/knife
diff options
context:
space:
mode:
Diffstat (limited to 'chef/bin/knife')
-rwxr-xr-xchef/bin/knife3
1 files changed, 1 insertions, 2 deletions
diff --git a/chef/bin/knife b/chef/bin/knife
index a02c860522..1e2769906c 100755
--- a/chef/bin/knife
+++ b/chef/bin/knife
@@ -18,9 +18,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), "..", "lib")))
-
require 'rubygems'
+$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), "..", "lib")))
require 'chef/application/knife'
Chef::Application::Knife.new.run