Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 64f60526c04746fd46f6039903570819ad8ec312 1 parent 7c186a0
@rkh rkh authored
Showing with 13 additions and 2 deletions.
  1. +13 −2 Gemfile
View
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
Please sign in to comment.
Something went wrong with that request. Please try again.