Permalink
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 336 Bytes
require 'bundler'
Bundler::GemHelper.install_tasks
require "bundler/gem_tasks"
module Bundler
class GemHelper
def rubygem_push(path)
gem_server_url = ENV['GEM_SERVER_URL']
sh("gem inabox '#{path}' --host #{gem_server_url}")
Bundler.ui.confirm "Pushed #{name} #{version} to #{gem_server_url}"
end
end
end