forked from rspec/rspec-rails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
52 lines (45 loc) · 1.74 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
50
51
52
source "http://rubygems.org"
gemspec
%w[rspec rspec-core rspec-expectations rspec-mocks].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
### deps for rdoc.info
group :documentation do
gem 'yard', '0.8.0', :require => false
gem 'redcarpet', '2.1.1'
gem 'github-markup', '0.7.2'
end
platforms :jruby do
gem "jruby-openssl"
end
gem 'sqlite3', '~> 1.3.6'
custom_gemfile = File.expand_path("../Gemfile-custom", __FILE__)
eval File.read(custom_gemfile) if File.exist?(custom_gemfile)
version_file = File.expand_path("../.rails-version", __FILE__)
case version = ENV['RAILS_VERSION'] || (File.exist?(version_file) && File.read(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"
gem "activerecord-deprecated_finders", :git => "git://github.com/rails/activerecord-deprecated_finders.git"
gem 'sass-rails', :git => "git://github.com/rails/sass-rails.git"
gem 'coffee-rails', :git => "git://github.com/rails/coffee-rails.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"
when nil, false, ""
gem "rails"
else
gem "rails", version
end