Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix CI test on 1.8

  • Loading branch information...
commit 0114dc38d5cfc347fdbbd9a9bf5e0226a5a4ed0a 1 parent 2bf0d9b
@josevalim josevalim authored
View
5 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:
Please sign in to comment.
Something went wrong with that request. Please try again.