Sha256: 7f4bebfd31dbbda0ee5f2fed3334564596a6dfaad4896a70a399a9f110459860
Contents?: true
Size: 536 Bytes
Versions: 1
Compression:
Stored size: 536 Bytes
Contents
require 'rubygems' require 'rake/gempackagetask' spec = eval(File.read(File.join(File.dirname(__FILE__), 'merb_openid.gemspec'))) Rake::GemPackageTask.new(spec) do |pkg| pkg.gem_spec = spec end task :install => [:package] do sh %{sudo gem install pkg/#{spec.name}-#{spec.version} --no-update-sources} end namespace :jruby do desc "Run :package and install the resulting .gem with jruby" task :install => :package do sh %{#{SUDO} jruby -S gem install pkg/#{spec.name}-#{Merb::VERSION}.gem --no-rdoc --no-ri} end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
danwrong-merb_openid-0.0.2 | Rakefile |