From c594558cf4aad4399d2a98a8350ede3a8274f5ef Mon Sep 17 00:00:00 2001 From: Tim Felgentreff Date: Thu, 16 Jun 2011 10:06:44 +0200 Subject: [PATCH] adjust gemfile for maglev. coffee-script broken b/c json gem doesn't work correctly --- Gemfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index a1751bf3..e1c070d3 100644 --- a/Gemfile +++ b/Gemfile @@ -32,7 +32,7 @@ gem 'less', '~> 1.0', :group => 'less' gem 'liquid', :group => 'liquid' unless RUBY_ENGINE == 'maglev' gem 'slim', :group => 'slim' gem 'RedCloth', :group => 'redcloth' if RUBY_VERSION < "1.9.3" and not RUBY_ENGINE.start_with? 'ma' -gem 'coffee-script', '>= 2.0', :group => 'coffee-script' +gem 'coffee-script', '>= 2.0', :group => 'coffee-script' unless RUBY_ENGINE == 'maglev' gem 'rdoc', :group => 'rdoc' gem 'kramdown', :group => 'kramdown' gem 'maruku', :group => 'maruku' @@ -52,6 +52,12 @@ unless RUBY_ENGINE == 'jruby' && JRUBY_VERSION < "1.6.1" #gem 'bluecloth', :group => 'bluecloth' end +if RUBY_ENGINE == 'maglev' + gem 'json', :group => 'coffee-script' + gem 'markaby', :group => 'markaby' + gem 'radius', :group => 'radius' +end + platforms :ruby_18, :jruby do gem 'json', :group => 'coffee-script' gem 'markaby', :group => 'markaby'