From c5d5c4f708ab72b8ba9825017b854b02e0c8481c Mon Sep 17 00:00:00 2001 From: Sam Stephenson Date: Sun, 12 Mar 2006 23:00:28 +0000 Subject: 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 --- railties/lib/commands/server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/lib/commands/server.rb') 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 -- cgit v1.2.3