Skip to content
This repository
Browse code

RUBY_ENGINE is not defined on 1.8

  • Loading branch information...
commit 8a2f0a9623e38b667fd7970337e3be52ade7a0e7 1 parent fc98811
Jon Leighton jonleighton authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  actionpack/lib/action_view/template.rb
2  actionpack/lib/action_view/template.rb
@@ -3,7 +3,7 @@
3 3 require 'active_support/core_ext/object/try'
4 4 require 'active_support/core_ext/kernel/singleton_class'
5 5
6   -if RUBY_ENGINE == 'ruby' && RUBY_VERSION == '1.9.3' && RUBY_PATCHLEVEL == 0
  6 +if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'ruby' && RUBY_VERSION == '1.9.3' && RUBY_PATCHLEVEL == 0
7 7 # This is a hack to work around a bug in Ruby 1.9.3p0:
8 8 # http://redmine.ruby-lang.org/issues/5564
9 9 #

0 comments on commit 8a2f0a9

Please sign in to comment.
Something went wrong with that request. Please try again.