diff --git a/Rakefile b/Rakefile index 8ed5955..69728ad 100644 --- a/Rakefile +++ b/Rakefile @@ -176,13 +176,9 @@ namespace :gem do desc "Install the gem locally" task :install do - sh "gem install --no-rdoc --no-ri json" - - sh "gem uninstall -x -a -I bson" sh "gem build bson.gemspec" sh "gem install --no-rdoc --no-ri bson-*.gem" - sh "gem uninstall -x -a -I mongo" sh "gem build mongo.gemspec" sh "gem install --no-rdoc --no-ri mongo-*.gem" diff --git a/mongo.gemspec b/mongo.gemspec index b7329a2..763e148 100644 --- a/mongo.gemspec +++ b/mongo.gemspec @@ -11,10 +11,9 @@ Gem::Specification.new do |s| s.require_paths = ['lib'] - s.files = ['README.md', 'HISTORY', 'Rakefile', - 'mongo.gemspec', 'LICENSE.txt'] + s.files = ['README.md', 'Rakefile', 'mongo.gemspec', 'LICENSE.txt'] s.files += ['lib/mongo.rb'] + Dir['lib/mongo/**/*.rb'] - s.files += Dir['examples/**/*.rb'] + Dir['bin/**/*.rb'] + s.files += Dir['docs/**/*.md'] + Dir['examples/**/*.rb'] + Dir['bin/**/*.rb'] s.files += Dir['bin/mongo_console'] s.test_files = Dir['test/**/*.rb']