JRuby does not support racc, include it only in ruby platform

This commit is contained in:
Francesco Rodriguez 2013-02-26 00:10:03 -05:00
parent 670a267394
commit 066ae49fb7

@ -9,9 +9,6 @@ gem 'jquery-rails', '~> 2.2.0'
gem 'turbolinks' gem 'turbolinks'
gem 'coffee-rails', '~> 4.0.0.beta1' gem 'coffee-rails', '~> 4.0.0.beta1'
# Needed for compiling the ActionDispatch::Journey parser
gem 'racc', '>=1.4.6', require: false
# This needs to be with require false to avoid # This needs to be with require false to avoid
# it being automatically loaded by sprockets # it being automatically loaded by sprockets
gem 'uglifier', require: false gem 'uglifier', require: false
@ -41,6 +38,9 @@ platforms :ruby do
gem 'yajl-ruby' gem 'yajl-ruby'
gem 'nokogiri', '>= 1.4.5' gem 'nokogiri', '>= 1.4.5'
# Needed for compiling the ActionDispatch::Journey parser
gem 'racc', '>=1.4.6', require: false
# AR # AR
gem 'sqlite3', '~> 1.3.6' gem 'sqlite3', '~> 1.3.6'