Sha256: af3ba282770e8dc28c4b5af8ba2814efe7cbd9ec4b9f8f05cfc6db6c31ce7d55

Contents?: true

Size: 904 Bytes

Versions: 1

Compression:

Stored size: 904 Bytes

Contents

begin
  require "rubygems"
  require "bundler"
rescue LoadError
  raise "Could not load the bundler gem. Install it with `gem install bundler`."
end

if Gem::Version.new(Bundler::VERSION) <= Gem::Version.new("1.0.0")
  raise RuntimeError, "Your bundler version is too old for Mail" +
   "Run `gem install bundler` to upgrade."
end

begin
  # Set up load paths for all bundled gems
  ENV["BUNDLE_GEMFILE"] = File.expand_path("../Gemfile", __FILE__)
  Bundler.setup
rescue Bundler::GemNotFound
  raise RuntimeError, "Bundler couldn't find some gems." +
    "Did you run `bundle install`?"
end

$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
task :default => :spec

require "rviki/version"

task :build do
  system "gem build rviki.gemspec"
end

task :release => :build do
  system "gem push rviki-#{RViki::VERSION::STRING}.gem"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rviki-0.0.2 Rakefile