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:
parent
7c186a0d48
commit
64f60526c0
1 changed files with 13 additions and 2 deletions
15
Gemfile
15
Gemfile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue