diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-15 13:09:18 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-15 13:09:18 +0000 |
commit | b07296593033d71a35e0f570870be46480ac6140 (patch) | |
tree | 6321a1ff83b92b274f1f185eb3374d2d945cfa3c /railties/lib | |
parent | 4ce69d79b786037e379f2203a733a2dcb6fbbb7f (diff) | |
download | rails-b07296593033d71a35e0f570870be46480ac6140.tar.gz rails-b07296593033d71a35e0f570870be46480ac6140.tar.bz2 rails-b07296593033d71a35e0f570870be46480ac6140.zip |
Updated the Rails generator command to work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@620 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails_generator.rb | 2 | ||||
-rw-r--r-- | railties/lib/rails_generator/base.rb | 4 | ||||
-rw-r--r-- | railties/lib/rails_generator/options.rb | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/railties/lib/rails_generator.rb b/railties/lib/rails_generator.rb index c46989819d..ed9b2d9636 100644 --- a/railties/lib/rails_generator.rb +++ b/railties/lib/rails_generator.rb @@ -23,7 +23,7 @@ $:.unshift(File.dirname(__FILE__)) -require 'rails_generator/support/core_ext' +require 'support/core_ext' require 'rails_generator/base' require 'rails_generator/lookup' diff --git a/railties/lib/rails_generator/base.rb b/railties/lib/rails_generator/base.rb index 92a54e2453..b8c926f3ce 100644 --- a/railties/lib/rails_generator/base.rb +++ b/railties/lib/rails_generator/base.rb @@ -1,5 +1,5 @@ -require File.dirname(__FILE__) + '/support/class_attribute_accessors' -require File.dirname(__FILE__) + '/support/inflector' +require File.dirname(__FILE__) + '/../support/class_attribute_accessors' +require File.dirname(__FILE__) + '/../support/inflector' require File.dirname(__FILE__) + '/options' require File.dirname(__FILE__) + '/manifest' require File.dirname(__FILE__) + '/spec' diff --git a/railties/lib/rails_generator/options.rb b/railties/lib/rails_generator/options.rb index 54785413ef..4ddeb94887 100644 --- a/railties/lib/rails_generator/options.rb +++ b/railties/lib/rails_generator/options.rb @@ -1,5 +1,5 @@ require 'optparse' -require File.dirname(__FILE__) + '/support/class_inheritable_attributes' +require File.dirname(__FILE__) + '/../support/class_inheritable_attributes' module Rails module Generator |