aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/commands/update.rb
blob: 0c14355f248c503477c166725c8754f9179b8f6f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                          








                                          
require "#{RAILS_ROOT}/config/environment"
require 'generators'

if ARGV.size == 0
  Rails::Generators.help
  exit
end

name = ARGV.shift
Rails::Generators.invoke name, ARGV, :skip