/
base.rb
64 lines (55 loc) · 1.62 KB
/
base.rb
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
53
54
55
56
57
58
59
60
61
62
63
64
module GemfileBase
def self.extended(host)
host.instance_eval do
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
gem 'rake', '0.9.2'
gem 'rdoc'
gem 'sqlite3-ruby', :require => 'sqlite3'
gem "cucumber", "1.0.0"
gem "aruba", "0.4.2"
gem "ZenTest", "~> 4.4.2"
gem 'ammeter', '~> 0.1'
platforms :jruby do
gem "jruby-openssl"
end
# gem "webrat", "0.7.3"
# gem "capybara", "~> 0.4"
# gem "capybara", "1.0.0.beta1"
group :development do
gem 'gherkin', '2.4.5'
gem "rcov", "0.9.9"
gem "relish", "~> 0.5.0"
gem "guard-rspec", "0.1.9"
if RUBY_PLATFORM =~ /darwin/
gem "growl", "1.0.3"
gem "autotest-fsevent", "~> 0.2.4"
gem "autotest-growl", "~> 0.2.9"
end
platforms :mri_18 do
gem 'ruby-debug'
end
platforms :mri_19 do
if RUBY_VERSION == '1.9.2'
gem 'linecache19', '~> 0.5.12'
gem 'ruby-debug19', '~> 0.11.6'
gem 'ruby-debug-base19', '~> 0.11.25'
end
end
platforms :ruby_18, :ruby_19 do
gem "rb-fsevent", "~> 0.3.9"
gem "ruby-prof", "~> 0.9.2"
end
end
end
end
end