aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2012-11-22 22:53:19 +0200
committerUģis Ozols <ugis.ozolss@gmail.com>2012-11-22 22:53:19 +0200
commit3e7d884dc2d7cac2efb27a291115b96c4b8b1c06 (patch)
tree136bfa1287657ad56fc3ac0507110292ce4935d0
parent730093e48fb5f05bc112b6697d2f56c760fd1ea7 (diff)
downloadrefinerycms-blog-3e7d884dc2d7cac2efb27a291115b96c4b8b1c06.tar.gz
refinerycms-blog-3e7d884dc2d7cac2efb27a291115b96c4b8b1c06.tar.bz2
refinerycms-blog-3e7d884dc2d7cac2efb27a291115b96c4b8b1c06.zip
Don't polute global $LOAD_PATH.
-rw-r--r--refinerycms-blog.gemspec3
1 files changed, 1 insertions, 2 deletions
diff --git a/refinerycms-blog.gemspec b/refinerycms-blog.gemspec
index 06e2eae..7af148d 100644
--- a/refinerycms-blog.gemspec
+++ b/refinerycms-blog.gemspec
@@ -1,6 +1,5 @@
# Encoding: UTF-8
-$:.push File.expand_path('../lib', __FILE__)
-require 'refinery/blog/version'
+require File.expand_path('../lib/refinery/blog/version', __FILE__)
version = Refinery::Blog::Version.to_s