Use platforms properly in Gemfile, even though bundler is broken.

This commit is contained in:
Konstantin Haase 2011-02-26 15:48:14 +01:00
parent 7c186a0d48
commit 64f60526c0
1 changed files with 13 additions and 2 deletions

15
Gemfile
View File

@ -19,7 +19,6 @@ gem 'builder', :group => 'builder'
gem 'erubis', :group => 'erubis'
gem 'less', :group => 'less'
gem 'liquid', :group => 'liquid'
gem 'RedCloth', :group => 'redcloth' unless RUBY_ENGINE == "rbx"
gem 'nokogiri', :group => 'nokogiri'
gem 'slim', :group => 'slim'
@ -39,4 +38,16 @@ platforms :ruby_18, :jruby do
gem 'json', :group => 'coffee-script'
gem 'markaby', :group => 'markaby'
gem 'radius', :group => 'radius'
end
end
platforms :mri do
# bundler platforms are broken
next unless RUBY_ENGINE == 'ruby'
gem 'RedCloth', :group => 'redcloth'
end
platforms :mri_18 do
# bundler platforms are broken
next unless RUBY_ENGINE == 'ruby'
gem 'rcov', :group => 'rcov'
end