blob: 74d1fa5021de07c312da39a8aa79b297099836c0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
module Rails
module Command
class NewCommand < Base # :nodoc:
def help
Rails::Command.invoke :application, [ "--help" ]
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
|