1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

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

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