Rakefile in elasticss-rails-0.1.0 vs Rakefile in elasticss-rails-0.1.1
- old
+ new
@@ -1,15 +1,30 @@
-require "bundler/gem_tasks"
+#!/usr/bin/env rake
+require "bundler"
+
+Bundler::GemHelper.install_tasks
+
+desc "Bundle the gem"
+
+task :bundle do
+ sh('bundle install')
+ sh 'gem build *.gemspec'
+ sh 'gem install *.gem'
+ sh 'rm *.gem'
+end
+
+task(:default).clear
+task :default => :bundle