diff options
author | Xavier Noria <fxn@hashref.com> | 2016-04-11 12:20:53 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2016-04-11 13:16:17 +0200 |
commit | 0caf8ffd7d19a3a3c8d7eca158b4ea66185ce4ae (patch) | |
tree | 54f4c4daa8bb32e18a910ac22a16afe6c09d95da /railties/lib/rails/generators | |
parent | b8d1dbf9933e3d67e15cd06116164286ba15c6a7 (diff) | |
download | rails-0caf8ffd7d19a3a3c8d7eca158b4ea66185ce4ae.tar.gz rails-0caf8ffd7d19a3a3c8d7eca158b4ea66185ce4ae.tar.bz2 rails-0caf8ffd7d19a3a3c8d7eca158b4ea66185ce4ae.zip |
revises fileutils dependencies in railties
With the exception of what is loaded in active_support/rails,
each file is responsible for its own dependencies. You cannot
rely on runtime order of execution.
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r-- | railties/lib/rails/generators/actions/create_migration.rb | 1 | ||||
-rw-r--r-- | railties/lib/rails/generators/app_base.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/actions/create_migration.rb b/railties/lib/rails/generators/actions/create_migration.rb index d664b07652..6c5b55466d 100644 --- a/railties/lib/rails/generators/actions/create_migration.rb +++ b/railties/lib/rails/generators/actions/create_migration.rb @@ -1,3 +1,4 @@ +require 'fileutils' require 'thor/actions' module Rails diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index 89341e6fa2..151bf9a879 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -1,3 +1,4 @@ +require 'fileutils' require 'digest/md5' require 'active_support/core_ext/string/strip' require 'rails/version' unless defined?(Rails::VERSION) |