Sha256: cf1d3e0430da110e657e1d34e333ffaa206db130179beec45bd8591663a3b6bb

Contents?: true

Size: 358 Bytes

Versions: 3

Compression:

Stored size: 358 Bytes

Contents

#!/usr/bin/env ruby

app_root = "sandbox"

unless File.exist? "#{app_root}/bin/rails"
  warn "Creating the sandbox app..."
  Dir.chdir "#{__dir__}/.." do
    system "#{__dir__}/sandbox" or begin # rubocop:disable Style/AndOr
      warn "Automatic creation of the sandbox app failed"
      exit 1
    end
  end
end

Dir.chdir app_root
exec "bin/rails", *ARGV

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
super_good-solidus_taxjar-1.0.0 bin/rails-sandbox
super_good-solidus_taxjar-0.18.2 bin/rails-sandbox
super_good-solidus_taxjar-0.18.1 bin/rails-sandbox