Sha256: ed13b46e252274ef2dcfdfbf55b4959f4b7c9c1cee21b652ec80164f94c4f83c
Contents?: true
Size: 328 Bytes
Versions: 309
Compression:
Stored size: 328 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 warn 'Automatic creation of the sandbox app failed' exit 1 end end end Dir.chdir app_root exec 'bin/rails', *ARGV
Version data entries
309 entries across 309 versions & 38 rubygems