Permalink
Browse files

adjust Gemfile to install on 1.8.6 (but skip most dependencies)

  • Loading branch information...
1 parent db692c2 commit 7a15be5339b0efa71369321280144a8af38084da @rkh rkh committed Mar 13, 2012
Showing with 14 additions and 17 deletions.
  1. +14 −17 Gemfile
View
31 Gemfile
@@ -28,33 +28,30 @@ end
gem 'haml', '~> 3.0.0', :group => 'haml'
gem 'builder', :group => 'builder'
gem 'erubis', :group => 'erubis'
-gem 'less', '~> 1.0', :group => 'less'
gem 'liquid', :group => 'liquid'
-gem 'slim', :group => 'slim'
-gem 'RedCloth', :group => 'redcloth' if RUBY_VERSION < "1.9.3" and RUBY_ENGINE != 'macruby'
if RUBY_VERSION > '1.8.6'
+ gem 'less', '~> 1.0', :group => 'less'
+ gem 'slim', :group => 'slim'
+ gem 'RedCloth', :group => 'redcloth' if RUBY_VERSION < "1.9.3" and RUBY_ENGINE != 'macruby'
+
if RUBY_ENGINE == 'jruby'
gem 'nokogiri', '!= 1.5.0'
elsif RUBY_ENGINE != 'maglev'
gem 'nokogiri'
end
gem 'coffee-script', '>= 2.0', :group => 'coffee-script'
gem 'rdoc', '< 3.10', :group => 'rdoc'
-end
-
-platforms :ruby do
- gem 'rdiscount', :group => 'rdiscount'
-end
-platforms :ruby_18, :jruby do
- gem 'json', :group => 'coffee-script'
- gem 'markaby', :group => 'markaby'
- gem 'radius', :group => 'radius'
-end
+ platforms :ruby do
+ gem 'rdiscount', :group => 'rdiscount'
+ end
-platforms :mri_18 do
- # bundler platforms are broken
- next unless RUBY_ENGINE == 'ruby'
- gem 'rcov', :group => 'rcov'
+ if RUBY_VERSION < '1.9'
+ gem 'json', :group => 'coffee-script'
+ gem 'markaby', :group => 'markaby'
+ gem 'radius', :group => 'radius'
+ end
+else
+ #gem 'nokogiri', '1.4.4'
end

0 comments on commit 7a15be5

Please sign in to comment.