Use libxml for rbx
This commit is contained in:
parent
ff22261ac0
commit
3ca937246b
@ -24,10 +24,10 @@ end
|
|||||||
require 'rabl-rails'
|
require 'rabl-rails'
|
||||||
require 'plist'
|
require 'plist'
|
||||||
|
|
||||||
if RUBY_ENGINE == 'ruby'
|
if RUBY_ENGINE == 'jruby'
|
||||||
require 'libxml'
|
|
||||||
else
|
|
||||||
require 'nokogiri'
|
require 'nokogiri'
|
||||||
|
else
|
||||||
|
require 'libxml'
|
||||||
end
|
end
|
||||||
|
|
||||||
RablRails.load_default_engines!
|
RablRails.load_default_engines!
|
||||||
|
Loading…
Reference in New Issue
Block a user