Sha256: 6927caaade2b7e5cd9ccaa2fb8eda6cb3acb1a5824fb24083c194964cee8502f
Contents?: true
Size: 358 Bytes
Versions: 5
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
5 entries across 5 versions & 4 rubygems