Sha256: 4ab7f13b3e9b7742fe66063080273b95b83dfa078ea337bcb813d7f1eed08f88
Contents?: true
Size: 427 Bytes
Versions: 19
Compression:
Stored size: 427 Bytes
Contents
module Rails module Command class NewCommand < Base # :nodoc: no_commands do def help Rails::Command.invoke :application, [ "--help" ] end end def perform(*) puts "Can't initialize a new Rails application within the directory of another, please change to a non-Rails directory first.\n" puts "Type 'rails' for help." exit 1 end end end end
Version data entries
19 entries across 19 versions & 1 rubygems