mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
Do not attempt to set yamler if on Ruby 2.2.0
It's been removed from 2.2.0: https://bugs.ruby-lang.org/issues/8344
This commit is contained in:
parent
eb2d750ada
commit
30773767c2
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
# See: http://redmine.ruby-lang.org/issues/show/4300
|
||||
require 'mongoid/version'
|
||||
|
||||
if RUBY_VERSION >= '1.9.2'
|
||||
if RUBY_VERSION >= '1.9.2' && RUBY_VERSION < '2.2.0'
|
||||
YAML::ENGINE.yamler = 'syck'
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue