1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib/rails/commands/update.rb
2012-10-14 18:26:58 +02:00

9 lines
207 B
Ruby

require File.expand_path(File.join(File.dirname(__FILE__), '..', 'generators'))
if ARGV.size == 0
Rails::Generators.help
exit
end
name = ARGV.shift
Rails::Generators.invoke name, ARGV, behavior: :skip