diff options
author | Dan DeLeo <danielsdeleo@mac.com> | 2010-01-05 17:55:03 -0700 |
---|---|---|
committer | Dan DeLeo <danielsdeleo@mac.com> | 2010-01-05 17:55:03 -0700 |
commit | 76bb7802271e3c2f2148574fa46404600db50f9d (patch) | |
tree | d16c64f519fb89df9f67530cf7b13b8877e0c586 /chef/bin | |
parent | e4b741ddec40ad152ba5f11c2132a38dd106210e (diff) | |
download | chef-76bb7802271e3c2f2148574fa46404600db50f9d.tar.gz |
install shef executable with gem install
Diffstat (limited to 'chef/bin')
-rwxr-xr-x | chef/bin/shef | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chef/bin/shef b/chef/bin/shef index de5dea04d9..3d215488d6 100755 --- a/chef/bin/shef +++ b/chef/bin/shef @@ -26,7 +26,11 @@ require "irb" require "irb/completion" # TODO::EVIL -require "#{File.dirname(__FILE__)}/../lib/chef" +begin + require "#{File.dirname(__FILE__)}/../lib/chef" +rescue LoadError + # the bin got moved, e.g., by rubygems +end require "chef/shef" # dirty hack to make IRB initialize shef |