Skip to content
Newer
Older
100644 50 lines (42 sloc) 1.48 KB
5687b8d @dchelimsky dev: much simpler management of multiple gemfiles
dchelimsky authored Nov 20, 2011
1 source "http://rubygems.org"
2
3 %w[rspec rspec-core rspec-expectations rspec-mocks rspec-rails].each do |lib|
4 library_path = File.expand_path("../../#{lib}", __FILE__)
5 if File.exist?(library_path)
6 gem lib, :path => library_path
7 elsif ENV["CI"] || ENV["USE_GIT_REPOS"]
8 gem lib, :git => "git://github.com/rspec/#{lib}.git"
9 else
10 gem lib
11 end
12 end
13
40d3bf1 @dchelimsky constrain ammeter dependency to :test group
dchelimsky authored Nov 22, 2011
14 platforms :jruby do
15 gem "jruby-openssl"
16 end
17
3b7452b @dchelimsky dev: move dev-env gems to Gemfile-custom.sample
dchelimsky authored Nov 25, 2011
18 gem 'rake'
5687b8d @dchelimsky dev: much simpler management of multiple gemfiles
dchelimsky authored Nov 20, 2011
19 gem 'rdoc'
20 gem 'sqlite3-ruby', :require => 'sqlite3'
21
40d3bf1 @dchelimsky constrain ammeter dependency to :test group
dchelimsky authored Nov 22, 2011
22 group :development, :test do
3b7452b @dchelimsky dev: move dev-env gems to Gemfile-custom.sample
dchelimsky authored Nov 26, 2011
23 gem "cucumber", "1.0.1"
40d3bf1 @dchelimsky constrain ammeter dependency to :test group
dchelimsky authored Nov 22, 2011
24 gem "aruba", "0.4.2"
25 gem "ZenTest", "~> 4.4.2"
5687b8d @dchelimsky dev: much simpler management of multiple gemfiles
dchelimsky authored Nov 20, 2011
26 end
27
40d3bf1 @dchelimsky constrain ammeter dependency to :test group
dchelimsky authored Nov 22, 2011
28 group :test do
c9b47d6 @dchelimsky use ammeter from git (has fix for deprecation warnings on InstanceMet…
dchelimsky authored Jan 18, 2012
29 gem 'ammeter', :git => "https://github.com/alexrothenberg/ammeter.git"
40d3bf1 @dchelimsky constrain ammeter dependency to :test group
dchelimsky authored Nov 22, 2011
30 end
5687b8d @dchelimsky dev: much simpler management of multiple gemfiles
dchelimsky authored Nov 20, 2011
31
3b7452b @dchelimsky dev: move dev-env gems to Gemfile-custom.sample
dchelimsky authored Nov 26, 2011
32 eval File.read('Gemfile-custom') if File.exist?('Gemfile-custom')
5687b8d @dchelimsky dev: much simpler management of multiple gemfiles
dchelimsky authored Nov 20, 2011
33
012cee7 @dchelimsky ci: move file refs
dchelimsky authored Nov 20, 2011
34 case version = ENV['RAILS_VERSION'] || File.read(File.expand_path("../.rails-version", __FILE__)).chomp
5687b8d @dchelimsky dev: much simpler management of multiple gemfiles
dchelimsky authored Nov 20, 2011
35 when /master/
36 gem "rails", :git => "git://github.com/rails/rails.git"
b80af68 @dchelimsky ci: point rails master build at arel on github
dchelimsky authored Nov 20, 2011
37 gem "arel", :git => "git://github.com/rails/arel.git"
5687b8d @dchelimsky dev: much simpler management of multiple gemfiles
dchelimsky authored Nov 20, 2011
38 gem "journey", :git => "git://github.com/rails/journey.git"
39 when /3-0-stable/
40 gem "rails", :git => "git://github.com/rails/rails.git", :branch => "3-0-stable"
41 gem "arel", :git => "git://github.com/rails/arel.git", :branch => "2-0-stable"
53644fc @dchelimsky ci: point Gemfile at git for journey gem for rails 3-2-stable
dchelimsky authored Jan 24, 2012
42 when /3-1-stable/
43 gem "rails", :git => "git://github.com/rails/rails.git", :branch => "3-1-stable"
44 when /3-2-stable/
45 gem "rails", :git => "git://github.com/rails/rails.git", :branch => "3-2-stable"
46 gem "journey", :git => "git://github.com/rails/journey.git"
5687b8d @dchelimsky dev: much simpler management of multiple gemfiles
dchelimsky authored Nov 20, 2011
47 else
48 gem "rails", version
49 end
Something went wrong with that request. Please try again.