diff options
author | Akira Matsuda <ronnie@dio.jp> | 2009-07-19 14:13:28 +0900 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-07-21 00:09:39 -0700 |
commit | 9163b9ac9d0b986cb5de2af63a8ed50ffc8ece71 (patch) | |
tree | 94153619b48eb7ac848b41f7309e64145234a2d1 /railties/bin/generate | |
parent | 108545a9d69215aa0205f7e6b52eb1573443d404 (diff) | |
download | rails-9163b9ac9d0b986cb5de2af63a8ed50ffc8ece71.tar.gz rails-9163b9ac9d0b986cb5de2af63a8ed50ffc8ece71.tar.bz2 rails-9163b9ac9d0b986cb5de2af63a8ed50ffc8ece71.zip |
Ruby 1.9.2 compat: Use File#expand_path for require path because "." will not be included in LOAD_PATH since Ruby 1.9.2 [#2921 state:resolved]
Signed-off-by: Yehuda Katz <wycats@gmail.com>
Diffstat (limited to 'railties/bin/generate')
-rwxr-xr-x | railties/bin/generate | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/bin/generate b/railties/bin/generate index 173a9f147d..62a8a4c0c5 100755 --- a/railties/bin/generate +++ b/railties/bin/generate @@ -1,3 +1,3 @@ #!/usr/bin/env ruby -require File.dirname(__FILE__) + '/../config/boot' +require File.expand_path('../../config/boot', __FILE__) require 'commands/generate' |