Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 7a15be5339b0efa71369321280144a8af38084da 1 parent db692c2
Konstantin Haase authored March 13, 2012

Showing 1 changed file with 14 additions and 17 deletions. Show diff stats Hide diff stats

  1. 31  Gemfile
31  Gemfile
@@ -28,12 +28,13 @@ end
28 28
 gem 'haml', '~> 3.0.0', :group => 'haml'
29 29
 gem 'builder', :group => 'builder'
30 30
 gem 'erubis', :group => 'erubis'
31  
-gem 'less', '~> 1.0', :group => 'less'
32 31
 gem 'liquid', :group => 'liquid'
33  
-gem 'slim', :group => 'slim'
34  
-gem 'RedCloth', :group => 'redcloth' if RUBY_VERSION < "1.9.3" and RUBY_ENGINE != 'macruby'
35 32
 
36 33
 if RUBY_VERSION > '1.8.6'
  34
+  gem 'less', '~> 1.0', :group => 'less'
  35
+  gem 'slim', :group => 'slim'
  36
+  gem 'RedCloth', :group => 'redcloth' if RUBY_VERSION < "1.9.3" and RUBY_ENGINE != 'macruby'
  37
+
37 38
   if RUBY_ENGINE == 'jruby'
38 39
     gem 'nokogiri', '!= 1.5.0'
39 40
   elsif RUBY_ENGINE != 'maglev'
@@ -41,20 +42,16 @@ if RUBY_VERSION > '1.8.6'
41 42
   end
42 43
   gem 'coffee-script', '>= 2.0', :group => 'coffee-script'
43 44
   gem 'rdoc', '< 3.10', :group => 'rdoc'
44  
-end
45  
-
46  
-platforms :ruby do
47  
-  gem 'rdiscount', :group => 'rdiscount'
48  
-end
49 45
 
50  
-platforms :ruby_18, :jruby do
51  
-  gem 'json', :group => 'coffee-script'
52  
-  gem 'markaby', :group => 'markaby'
53  
-  gem 'radius', :group => 'radius'
54  
-end
  46
+  platforms :ruby do
  47
+    gem 'rdiscount', :group => 'rdiscount'
  48
+  end
55 49
 
56  
-platforms :mri_18 do
57  
-  # bundler platforms are broken
58  
-  next unless RUBY_ENGINE == 'ruby'
59  
-  gem 'rcov', :group => 'rcov'
  50
+  if RUBY_VERSION < '1.9'
  51
+    gem 'json', :group => 'coffee-script'
  52
+    gem 'markaby', :group => 'markaby'
  53
+    gem 'radius', :group => 'radius'
  54
+  end
  55
+else
  56
+  #gem 'nokogiri', '1.4.4'
60 57
 end

0 notes on commit 7a15be5

Please sign in to comment.
Something went wrong with that request. Please try again.