/
base.rb
45 lines (39 loc) · 1.2 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
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["USE_GIT_REPOS"] == 'true'
gem lib, :git => "git://github.com/rspec/#{lib}.git"
else
gem lib
end
end
gem 'sqlite3-ruby', :require => 'sqlite3'
gem "cucumber", "~> 0.10.2"
gem "aruba", "~> 0.3.6"
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 "webrat", "0.7.2"
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
end
end
end