Sha256: ea59f1aec5ba4f72bd51de46cd83c6e9866ca91d45c90c92a5efe13348c10cf9
Contents?: true
Size: 369 Bytes
Versions: 12
Compression:
Stored size: 369 Bytes
Contents
#!/usr/bin/env ruby root = "#{__dir__}/.." app_root = "#{root}/dummy-app" unless File.exist? "#{app_root}/bin/rails" warn 'Creating the dummy-app app...' Dir.chdir root do system "#{root}/bin/dummy-app" or begin warn 'Automatic creation of the dummy-app app failed' exit 1 end end end Dir.chdir app_root exec "#{app_root}/bin/rails", *ARGV
Version data entries
12 entries across 12 versions & 2 rubygems