Skip to content

Commit

Permalink
Use platforms properly in Gemfile, even though bundler is broken.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkh committed Feb 26, 2011
1 parent 7c186a0 commit 64f6052
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -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

0 comments on commit 64f6052

Please sign in to comment.