Skip to content

Commit d493528

Browse files
committed
Don't need mg
1 parent b9480f1 commit d493528

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

Rakefile

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,11 @@ end
3737

3838

3939
#
40-
# Gem
40+
# Install
4141
#
4242

4343
task :install => [ 'redis:install', 'dtach:install' ]
4444

45-
begin
46-
require 'mg'
47-
MG.new("resque.gemspec")
48-
rescue LoadError
49-
warn "mg not available."
50-
warn "Install it with: gem i mg"
51-
end
52-
5345

5446
#
5547
# Documentation
@@ -67,9 +59,11 @@ end
6759
#
6860

6961
desc "Push a new version to Gemcutter"
70-
task :publish => "gem:publish" do
62+
task :publish do
7163
require 'resque/version'
7264

65+
sh "gem build resque.gemspec"
66+
sh "gem push resque-#{Resque::Version}.gem"
7367
sh "git tag v#{Resque::Version}"
7468
sh "git push origin v#{Resque::Version}"
7569
sh "git push origin master"

0 commit comments

Comments
 (0)