Permalink
Browse files

fixes for Gemfile so zk:test_all task works again

  • Loading branch information...
1 parent d45add7 commit f88415a721a5718ab8bf92a22b7e3eadae2edb28 @slyphon slyphon committed Aug 8, 2012
Showing with 12 additions and 18 deletions.
  1. +12 −18 Gemfile
View
@@ -4,10 +4,6 @@ gemspec
gem 'rake', '~> 0.9.0'
-platform :mri_19 do
- gem 'simplecov', :group => :coverage, :require => false
-end
-
group :test do
gem "rspec", "~> 2.8.0"
gem 'eventmachine', '1.0.0.beta.4'
@@ -16,22 +12,20 @@ group :test do
gem 'zk-server', '~> 1.0.0'
end
-platform :mri_19 do
- gem 'simplecov', :group => :coverage, :require => false
-end
+# ffs, :platform appears to be COMLETELY BROKEN so we just DO THAT HERE
+# ...BY HAND
-group :docs do
- platform :mri_19 do
- gem 'yard', '~> 0.8.0'
- gem 'redcarpet'
+if RUBY_VERSION != '1.8.7' && !defined?(JRUBY_VERSION)
+ gem 'simplecov', :group => :coverage, :require => false
+ gem 'yard', '~> 0.8.0', :group => :docs
+ gem 'redcarpet', :group => :docs
+
+ group :development do
+ gem 'pry'
+ gem 'guard', :require => false
+ gem 'guard-rspec', :require => false
+ gem 'guard-shell', :require => false
end
end
-group :development do
- gem 'pry'
- gem 'guard', :require => false
- gem 'guard-rspec', :require => false
- gem 'guard-shell', :require => false
-end
-
# vim:ft=ruby

0 comments on commit f88415a

Please sign in to comment.