Permalink
Browse files

m ruby load path

  • Loading branch information...
1 parent d04a263 commit a8da21f298ee0ac79aa2b2b4e92c931d176a0bad @thisiskun committed Apr 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/_posts/2012-03-30-rubys-load-path.markdown
@@ -79,6 +79,6 @@ $:.unshift File.expand_path("../lib", __FILE__)
---------------------------------------
最后,一点小发现,
-rspec是会自动加载`.lib``.spec`的。
+rspec是会自动加载`lib/``.spec/`的。
[1]: http://stackoverflow.com/questions/4333286/ruby-require-vs-require-relative-best-practice-to-workaround-running-in-both

0 comments on commit a8da21f

Please sign in to comment.