Created
May 13, 2010 13:46
-
-
Save rx/399849 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :gem do | |
begin | |
require 'jeweler' | |
gem_name = 'voomify-jobs' | |
Jeweler::Tasks.new do |gem| | |
gem.name = gem_name | |
gem.summary = 'Voomify jobs engine for Rails 3.' | |
gem.files = Dir['{lib}/**/*', '{app}/**/*', '{config}/**/*'] | |
gem.author = 'Russell Edens' | |
gem.email = '[email protected]' | |
gem.description = 'This is the Rails 3 engine that manages jobs for Voomify.' | |
gem.homepage = "http://www.github.com/voomify/#{gem_name}" | |
end | |
rescue | |
puts 'Jeweler or one of its dependencies is not installed.' | |
end | |
task :uninstall do | |
sh "gem uninstall #{gem_name}" | |
end | |
task :reinstall =>[:uninstall, :install] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment