diff options
Diffstat (limited to 'railties/bin/update')
-rw-r--r-- | railties/bin/update | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/railties/bin/update b/railties/bin/update new file mode 100644 index 0000000000..64cc49cf02 --- /dev/null +++ b/railties/bin/update @@ -0,0 +1,8 @@ +#!/usr/local/bin/ruby +require File.dirname(__FILE__) + '/../config/environment' +require 'rails_generator' +require 'rails_generator/simple_logger' +require 'rails_generator/scripts/update' + +Rails::Generator::Base.logger = Rails::Generator::SimpleLogger.new(STDOUT) +Rails::Generator::Scripts::Update.new.run(ARGV) |