From 2bfb296fdec2d667924f7e8d5c317e9487a8a1b3 Mon Sep 17 00:00:00 2001 From: Konstantin Haase Date: Tue, 26 Feb 2013 20:54:16 +1100 Subject: [PATCH] don't run stylus on rbx 1.9 mode --- Gemfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 7f74fc80..7a402115 100644 --- a/Gemfile +++ b/Gemfile @@ -43,8 +43,11 @@ gem 'markaby' gem 'radius' gem 'rabl' unless RUBY_ENGINE =~ /jruby|maglev/ gem 'wlang', '>= 2.0.1' unless RUBY_ENGINE =~ /jruby|rbx/ -gem 'liquid' unless RUBY_ENGINE == 'rbx' and RUBY_VERSION > '1.9' -gem 'stylus' + +if RUBY_ENGINE != 'rbx' or RUBY_VERSION < '1.9' + gem 'liquid' + gem 'stylus' +end if RUBY_ENGINE == 'jruby' gem 'nokogiri', '!= 1.5.0'