Sha256: efe6e9c37399f7f01b645c08468783929bc352e33a7e5a1e87f6fe7a2edcc091
Contents?: true
Size: 679 Bytes
Versions: 3
Compression:
Stored size: 679 Bytes
Contents
module Paperclip module PermanentRecords # Like Bundler::GemHelper, but without the 'release' task # (would need to be implemented for release on gems.emjot.de) class GemHelper < Bundler::GemHelper def install built_gem_path = nil desc "Build #{name}-#{version}.gem into the pkg directory." task 'build' do built_gem_path = build_gem end desc "Build and install #{name}-#{version}.gem into system gems." task 'install' => 'build' do install_gem(built_gem_path) end GemHelper.instance = self end def version_tag version.to_s end end end end
Version data entries
3 entries across 3 versions & 1 rubygems