Permalink
Browse files

Fix CI test on 1.8

  • Loading branch information...
josevalim committed Apr 16, 2011
1 parent 2bf0d9b commit 0114dc38d5cfc347fdbbd9a9bf5e0226a5a4ed0a
Showing with 4 additions and 1 deletion.
  1. +4 −1 actionpack/lib/action_view/renderer/streaming_template_renderer.rb
@@ -1,4 +1,7 @@
-require 'fiber'
+# 1.9 ships with Fibers but we need to require the extra
+# methods explicitly. We only load those extra methods if
+# Fiber is available in the first place.
+require 'fiber' if defined?(Fiber)
module ActionView
# Consider the following layout:

0 comments on commit 0114dc3

Please sign in to comment.