diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-11-06 10:54:59 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-11-06 10:54:59 +0000 |
commit | 8a2f0a9623e38b667fd7970337e3be52ade7a0e7 (patch) | |
tree | 2357fef47cedae067cf157cdfa37993908537a27 /actionpack/lib | |
parent | fc988115f75bdca6aa95454208b49125a5041117 (diff) | |
download | rails-8a2f0a9623e38b667fd7970337e3be52ade7a0e7.tar.gz rails-8a2f0a9623e38b667fd7970337e3be52ade7a0e7.tar.bz2 rails-8a2f0a9623e38b667fd7970337e3be52ade7a0e7.zip |
RUBY_ENGINE is not defined on 1.8
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/template.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/template.rb b/actionpack/lib/action_view/template.rb index 1f1a8f7867..fbc135c4a7 100644 --- a/actionpack/lib/action_view/template.rb +++ b/actionpack/lib/action_view/template.rb @@ -3,7 +3,7 @@ require 'active_support/core_ext/object/blank' require 'active_support/core_ext/object/try' require 'active_support/core_ext/kernel/singleton_class' -if RUBY_ENGINE == 'ruby' && RUBY_VERSION == '1.9.3' && RUBY_PATCHLEVEL == 0 +if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'ruby' && RUBY_VERSION == '1.9.3' && RUBY_PATCHLEVEL == 0 # This is a hack to work around a bug in Ruby 1.9.3p0: # http://redmine.ruby-lang.org/issues/5564 # |