Sha256: 405e0bd984639554ef9c0e36d049aa68ae7d7b90474e3cedc25fe6e960db55c0

Contents?: true

Size: 533 Bytes

Versions: 5

Compression:

Stored size: 533 Bytes

Contents

# this is in a separate rakefile because our main one depends on the bundled gems
# already being installed.  This must be able to run w/o bundled gems installed.

desc "Run a full build: install necessary gems with bundler, runs specs, run cukes"
task :build => :ensure_bundler_installed do
  sh "bundle install"
  sh "rake"
end

task :ensure_bundler_installed do
  installed = begin
    require 'rubygems'
    require 'bundler'
    true
  rescue LoadError
    false
  end

  unless installed
    sh "gem install bundler"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vcr-1.4.0 script/FullBuildRakeFile
vcr-1.3.3 script/FullBuildRakeFile
vcr-1.3.2 script/FullBuildRakeFile
vcr-1.3.1 FullBuildRakeFile
vcr-1.3.0 FullBuildRakeFile