Skip to content

Commit

Permalink
Add assert_same/lib dir to $LOAD_PATH. Rails and gem do that for us,
Browse files Browse the repository at this point in the history
but if you want to use the library standalone, you need it.
  • Loading branch information
adymo committed Aug 17, 2011
1 parent 7a906aa commit 9668a6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion init.rb
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
require 'assert_same'
$LOAD_PATH.unshift(File.dirname(__FILE__) + "/lib")
require 'assert_same'

0 comments on commit 9668a6c

Please sign in to comment.