aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/commands/server.rb2
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