Permalink
Browse files

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
  • Loading branch information...
1 parent 60e4064 commit c5d5c4f708ab72b8ba9825017b854b02e0c8481c @sstephenson sstephenson committed Mar 12, 2006
Showing with 3 additions and 1 deletion.
  1. +2 −0 railties/CHANGELOG
  2. +1 −1 railties/lib/commands/server.rb
View
@@ -1,5 +1,7 @@
*SVN*
+* Use require_library_or_gem to load rake in commands/server.rb. Closes #4205. [rob.rasmussen@gmail.com]
+
* Use the Rake API instead of shelling out to create the tmp directory in commands/server.rb. [Chad Fowler]
* Added a backtrace to the evil WSOD (White Screen of Death). Closes #4073. TODO: Clearer exceptions [Rick Olson]
@@ -25,7 +25,7 @@
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

0 comments on commit c5d5c4f

Please sign in to comment.