bin/chef-solo in chef-0.7.16 vs bin/chef-solo in chef-0.8.2
- old
+ new
@@ -16,10 +16,10 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-$: << File.join(File.dirname(__FILE__), "..", "lib")
+$:.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
require 'rubygems'
require 'chef/application/solo'
Chef::Application::Solo.new.run