forked from rspec/rspec-rails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGemfile
49 lines (42 loc) · 1.49 KB
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
source "http://rubygems.org"
%w[rspec rspec-core rspec-expectations rspec-mocks rspec-rails].each do |lib|
library_path = File.expand_path("../../#{lib}", __FILE__)
if File.exist?(library_path)
gem lib, :path => library_path
elsif ENV["CI"] || ENV["USE_GIT_REPOS"]
gem lib, :git => "git://github.com/rspec/#{lib}.git"
else
gem lib
end
end
platforms :jruby do
gem "jruby-openssl"
end
gem 'rake', '~> 0.9.2'
gem 'rdoc'
gem 'sqlite3-ruby', :require => 'sqlite3'
group :development, :test do
gem "cucumber", "1.1.9"
gem "aruba", "0.4.11"
gem "ZenTest", "4.6.2"
end
group :test do
gem 'ammeter', :git => "https://github.com/alexrothenberg/ammeter.git"
end
eval File.read('Gemfile-custom') if File.exist?('Gemfile-custom')
case version = ENV['RAILS_VERSION'] || File.read(File.expand_path("../.rails-version", __FILE__)).chomp
when /master/
gem "rails", :git => "git://github.com/rails/rails.git"
gem "arel", :git => "git://github.com/rails/arel.git"
gem "journey", :git => "git://github.com/rails/journey.git"
when /3-0-stable/
gem "rails", :git => "git://github.com/rails/rails.git", :branch => "3-0-stable"
gem "arel", :git => "git://github.com/rails/arel.git", :branch => "2-0-stable"
when /3-1-stable/
gem "rails", :git => "git://github.com/rails/rails.git", :branch => "3-1-stable"
when /3-2-stable/
gem "rails", :git => "git://github.com/rails/rails.git", :branch => "3-2-stable"
gem "journey", :git => "git://github.com/rails/journey.git"
else
gem "rails", version
end