minor: fix for gem build

This commit is contained in:
Kyle Banker 2010-06-02 15:50:52 -04:00
parent aa70597a67
commit 828a97fbd9

View File

@ -134,18 +134,18 @@ namespace :gem do
desc "Install the gem locally" desc "Install the gem locally"
task :install do task :install do
sh "gem build bson.gemspec"
sh "gem install bson-*.gem"
sh "gem build mongo-ruby-driver.gemspec" sh "gem build mongo-ruby-driver.gemspec"
sh "gem install mongo-*.gem" sh "gem install mongo-*.gem"
sh "rm mongo-*.gem" sh "rm mongo-*.gem"
sh "rm bson-*.gem"
end end
desc "Install the optional c extensions" desc "Install the optional c extensions"
task :install_extensions do task :install_extensions do
sh "gem build bson.gemspec"
sh "gem build bson_ext.gemspec" sh "gem build bson_ext.gemspec"
sh "gem install bson-*.gem"
sh "gem install bson_ext-*.gem" sh "gem install bson_ext-*.gem"
sh "rm bson-*.gem"
sh "rm bson_ext-*.gem" sh "rm bson_ext-*.gem"
end end