diff options
author | Luis Lavena <luislavena@gmail.com> | 2012-05-06 18:33:44 -0300 |
---|---|---|
committer | Luis Lavena <luislavena@gmail.com> | 2012-05-06 18:33:44 -0300 |
commit | e06ad630a702143556cf9e6e5d3749c56b0c3eed (patch) | |
tree | 2ed7205a55112efac58548c007c5d38f70c2a5b1 /Rakefile | |
parent | 99ed91c380e0719cf377616d2f9ca87e24e97057 (diff) | |
download | json-e06ad630a702143556cf9e6e5d3749c56b0c3eed.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-- | Rakefile | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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' |