Browse files

no need to munge LOAD_PATH

In Rubygems environment, the LOAD_PATH will already be set and there's
no need to add a duplicate to it.

In development or other setups, simply prepare the LOAD_PATH yourself:

  $ RUBYLIB=lib bin/cane

  # or:

  $ ruby -Ilib bin/cane
  • Loading branch information...
1 parent f8e8dd7 commit b8571e9cbc2c064f6da6755cb3423602ceafcb10 @mislav mislav committed Mar 8, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 bin/cane
@@ -1,7 +1,5 @@
#!/usr/bin/env ruby
-$LOAD_PATH.unshift(File.expand_path('../../lib', __FILE__))
require 'cane/cli'
result =

0 comments on commit b8571e9

Please sign in to comment.