diff options
author | José Valim <jose.valim@gmail.com> | 2009-06-23 16:19:23 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-06-23 16:53:47 +0200 |
commit | 301c48c15cc6bf8d8fac3c22356eacce380f6fce (patch) | |
tree | 8000d68f8b2b6b78543c6e897973fcc88a18d1a0 /railties/lib/generator/base.rb | |
parent | 1845675822fef4ead89b8919da56c4fadb145e56 (diff) | |
download | rails-301c48c15cc6bf8d8fac3c22356eacce380f6fce.tar.gz rails-301c48c15cc6bf8d8fac3c22356eacce380f6fce.tar.bz2 rails-301c48c15cc6bf8d8fac3c22356eacce380f6fce.zip |
Added a generator file responsable for loading generator files.
Diffstat (limited to 'railties/lib/generator/base.rb')
-rw-r--r-- | railties/lib/generator/base.rb | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/railties/lib/generator/base.rb b/railties/lib/generator/base.rb index 08f488932b..c1452cdb7f 100644 --- a/railties/lib/generator/base.rb +++ b/railties/lib/generator/base.rb @@ -1,15 +1,4 @@ -# Load ActiveSupport mini -activesupport_path = "#{File.dirname(__FILE__)}/../../../activesupport/lib" -$:.unshift(activesupport_path) if File.directory?(activesupport_path) -require 'active_support/all' - -# TODO Use vendored Thor -require 'rubygems' -gem 'josevalim-thor' -require 'thor' - -require File.dirname(__FILE__) + '/../rails/version' unless defined?(Rails::VERSION) -require File.dirname(__FILE__) + '/actions' +require 'generator/actions' module Rails module Generators |