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






                        
                                                       
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'generators'))
require "#{RAILS_ROOT}/config/environment"

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

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