diff options
author | Sam Stephenson <sam@37signals.com> | 2006-03-12 23:00:28 +0000 |
---|---|---|
committer | Sam Stephenson <sam@37signals.com> | 2006-03-12 23:00:28 +0000 |
commit | c5d5c4f708ab72b8ba9825017b854b02e0c8481c (patch) | |
tree | c5cef931c20d023ef894000dac099c047aef2789 /railties/lib | |
parent | 60e40647d7e316600cc9e113ff2af9637f9ecec0 (diff) | |
download | rails-c5d5c4f708ab72b8ba9825017b854b02e0c8481c.tar.gz rails-c5d5c4f708ab72b8ba9825017b854b02e0c8481c.tar.bz2 rails-c5d5c4f708ab72b8ba9825017b854b02e0c8481c.zip |
Use require_library_or_gem to load rake in commands/server.rb. Closes #4205.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/commands/server.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/commands/server.rb b/railties/lib/commands/server.rb index d91a395b81..c9627439e8 100644 --- a/railties/lib/commands/server.rb +++ b/railties/lib/commands/server.rb @@ -25,7 +25,7 @@ else puts "=> Booting lighttpd (use 'script/server webrick' to force WEBrick)" end -require 'rake' +require_library_or_gem 'rake' load File.join(File.dirname(__FILE__), "..", "tasks", "tmp.rake") begin Rake::Task['tmp:create'].execute |