summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorLuis Lavena <luislavena@gmail.com>2012-05-06 18:33:44 -0300
committerLuis Lavena <luislavena@gmail.com>2012-05-06 18:33:44 -0300
commite06ad630a702143556cf9e6e5d3749c56b0c3eed (patch)
tree2ed7205a55112efac58548c007c5d38f70c2a5b1 /Rakefile
parent99ed91c380e0719cf377616d2f9ca87e24e97057 (diff)
downloadjson-luislavena-stop-polluting-load-path.tar.gz
Stop adding 'ext' paths to LOAD_PATHluislavena-stop-polluting-load-path
RubyGems will automatically copy the generated extension inside to 'lib' when doing `make install` This change let RubyGems do it's job and it works.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index 33c5c4d..fb47dc2 100644
--- a/Rakefile
+++ b/Rakefile
@@ -120,9 +120,7 @@ if defined?(Gem) and defined?(Gem::PackageTask)
s.extensions = FileList['ext/**/extconf.rb']
- s.require_path = EXT_ROOT_DIR
- s.require_paths << 'ext'
- s.require_paths << 'lib'
+ s.require_path = 'lib'
s.add_development_dependency 'permutation'
s.add_development_dependency 'sdoc'