Permalink
Browse files

align Gemfiles across rspec dev repos

  • Loading branch information...
1 parent 1bcd0bc commit 6790c7cc44115d92701e370769a2e0742b899c62 @dchelimsky dchelimsky committed Dec 12, 2010
Showing with 28 additions and 11 deletions.
  1. +28 −11 Gemfile
View
39 Gemfile
@@ -1,21 +1,38 @@
source "http://rubygems.org"
+### rspec libs
%w[rspec-core rspec-expectations rspec-mocks].each do |lib|
- gem lib, :path => File.expand_path("../../#{lib}", __FILE__)
+ library_path = File.expand_path("../../#{lib}", __FILE__)
+ if File.exist?(library_path)
+ gem lib, :path => library_path
+ else
+ gem lib
+ end
end
-gem "rake"
+### dev dependencies
+gem "rake", "0.8.7"
gem "cucumber", "0.9.4"
gem "aruba", "0.2.2"
+gem "rcov", "0.9.9"
+gem "relish", "0.2.0"
+gem "guard-rspec", "0.1.9"
+gem "growl", "1.0.3"
gem "ZenTest", "~> 4.4.2"
-gem "diff-lcs"
-gem "watchr"
-gem "rcov"
-gem "relish"
-case RUBY_VERSION
-when '1.9.2'
- gem 'ruby-debug19'
-when /^1\.8/
- gem 'ruby-debug'
+if RUBY_PLATFORM =~ /darwin/
+ gem "autotest-fsevent", "~> 0.2.4"
+ gem "autotest-growl", "~> 0.2.9"
+end
+
+gem "ruby-debug", :platforms => :ruby_18
+gem "ruby-debug19", "~> 0.11.6", :platforms => :ruby_19
+
+platforms :ruby_18, :ruby_19 do
+ gem "rb-fsevent", "~> 0.3.9"
+ gem "ruby-prof", "~> 0.9.2"
+end
+
+platforms :jruby do
+ gem "jruby-openssl"
end

0 comments on commit 6790c7c

Please sign in to comment.