mirror of
https://github.com/moparisthebest/mailcatcher
synced 2024-12-22 07:18:53 -05:00
Fix gem packaging for rubygems 2.0
This commit is contained in:
parent
e8ca2a8fcf
commit
6dfed04dd9
4
Rakefile
4
Rakefile
@ -1,4 +1,5 @@
|
||||
require 'rubygems'
|
||||
require 'rubygems/package'
|
||||
require File.expand_path('../lib/mail_catcher/version', __FILE__)
|
||||
|
||||
spec_file = File.expand_path __FILE__ + '/../mailcatcher.gemspec'
|
||||
@ -35,8 +36,7 @@ multitask "build" => ["build:sass", "build:coffee"]
|
||||
|
||||
desc "Package as Gem"
|
||||
task "package:gem" do
|
||||
builder = Gem::Builder.new spec
|
||||
builder.build
|
||||
Gem::Package.build spec
|
||||
end
|
||||
|
||||
task "package" => ["build", "package:gem"]
|
||||
|
Loading…
Reference in New Issue
Block a user